AutoMapper is a library that can map your object properties with the other object. By default, It maps the value of one object to another by looking on the properties with similar names from the source object to destination object.
Tag: Clean architecture
We will follow CQRS (Command Query Responsibility Segregation) approach in handling our data. We will use MediatR to handle the mappings of request to response and FluentValidation for validation.
Now we will create our domain entities and implement EF Core auditing by saving the user who created the record and the last user who modified the record.