DEV Community

Discussion on: Asynchronous Calls, Data-Transfer-Objects & Automapper in .NET Core Web API

Collapse
 
pratyushplp profile image
Pratyush Pradhan

Hi Patrick,
Great tutorial !! . I have a question, why was the mapper implemented in service rather than the controller? Wouldnt it be better if we implemented the mapping in the controller?