Post Repository (Refactoring to a Repository)
To complete the ProcessCommand class, we are going to extract the logic to save a post to it's own class using the repository pattern. We will complete the lesson by giving the user better feedback on what the command has done.
TOPICS
Commands
Repository Pattern