Where should DTO conversion be done in MVC?
18:53 09 Sep 2022

Where should DTO conversion be done in MVC?

I am using JPA. Receive DTO as parameter from Controller.

At this time, is it necessary to convert it in the controller and pass it to the service?

Or, I wonder if the service receives the DTO and converts it.

java spring spring-boot spring-mvc dto