I need to learn CQRS pattern for make a Clean Architecture, the easy courses and videos make the simple CRUD operations, but I need to learn more complexity rules, where can I set the business rules and create a simple but good architecture.
I want to get an architecture with:
An example for clients, products, categories and stock.
-Create clients, products and categories.
-when client is created add a field with cash.
-Buy products for the client updating the product stock and updating the client cash.
*if the client cash is insufficient the product can't be solt and notify it on the response result.
*if the stock is insufficient the product can't be solt and notify it on the response result.
The technologie must be CQRS pattern for a Clean Architecture with C# .Net the version doesn't matther