The Command Pattern was one of the behavioral patterns described by The Gang of Four as a way for two objects to communicate.
Lets get familiar with terminology
A command is an object that signals an intent, like RegisterUser. Commands are passed to the command bus. Command bus will pass