Can we use service DTO in web layer?
A
Correct answer
Explanation
Service DTOs (Data Transfer Objects) can indeed be used in the web layer. DTOs are designed to transfer data between application layers, and using service DTOs in the web layer is a common pattern in layered architecture. The web layer can receive DTOs from the service layer and use them to render views or return API responses.