The project currently uses manual mapping between DTOs and entities in the service layer. While this works, it leads to repetitive code and makes the service classes less clean as the project grows.
To improve code structure and maintainability, we should introduce a dedicated mapper layer.
The project currently uses manual mapping between DTOs and entities in the service layer. While this works, it leads to repetitive code and makes the service classes less clean as the project grows.
To improve code structure and maintainability, we should introduce a dedicated mapper layer.