📄️ Create a command
In the Command-Query Responsibility Segregation (CQRS) pattern, commands represent the operations that change the state of the system. They are typically used to create, update, or delete data within an application. A command is often represented by a message or a request that contains the data needed to execute the operation.
📄️ Create a handler for your command
The command itself contains only information that the handler needs to do something with it.