We are almost at the end of our journey. In chapters gone by, we implemented the database access layer, the repository layer, and the service layer. Our service is almost implemented but not yet usable by FlyTomorrow (our client). To interact with our service, we need to provide controllers that accept HTTP requests and kick off the necessary processing.
In section 13.1, we’ll discuss the controller’s place within our repository/service architecture. Following that, in section 13.2, we’ll determine which controllers we need to implement. In the following sections, we’ll start to implement the FlightController (section 13.3) and explore how to route HTTP requests to our endpoints (section 13.4).