Repository stores .NET Core 3.1 Web API training solution in theme "Authorized Car Service"(ordering parts from dealers, servicing history, cars, drivers, mechanics and dealers database etc.) mainly to meet: CQRS design pattern; way to implement pagination; integration tests; MediatR. Big thanks to Nick Chapsas for his great explanations on these things(check his youtube too here). Only 2 from 6 models are implemented so if someone wants to try for themselves, go ahead. API can also be used to exercise with frontend implementation. Validation from FV relies on ValidationException
throwing which I don't like but didn't resolve problem with TResponse
combined in some result class for ValidationBehaviour
using IPipelineBehavior :{
1. Download project as zip file/use git clone <URL> command.
2. Open project with VS IDE.
3. Open PMC(Package Manager Console).
4. Set Data-Layer library as default project for PMC.
5. Write & run update-database command.
6. Compile & run project.
7. Execute DataGenerator controller POST action through Swagger.
8. Voilà :)
Template generated using EzGitDoc