GitPointer/java-challenge

Use DTO (Data Transfer Object) to communicate between the Controller and Service layers

Closed this issue · 0 comments

Using DTO (Data Transfer Object) to communicate between the controller and service layers is a good approach. This way you can separate the data structure used for communication from the entity model used for persistence.