Finally, let's take a look at a quick overview of the code structure we implemented in Chapter 8, Building the Data Access Layer, Chapter 9, Implementing the Domain Logic, and this chapter. The following architecture schema illustrates the actual construction of the Catalog.API solution:
Once the web service instance receives the client request, it dispatches the request to the corresponding action method of the controller. Following this, the action method executes the corresponding function exposed by the service classes defined in the Catalog.Domain project, which ships the request to the relevant repository defined in the Catalog.Infrastructure project, and then maps the entities with the request and response models.