We split the backend in three layers:
- Domain: Main entities and his relations
- Infrastructure: Access to the database through EntityFramwork
- Application: The logic of the command and querys methods
We implement CQRS using MediantR in Application layer, then We use the mediator in the controller of the api
- Author : carlosJorgeR