Concept Flow - Why DTOs matter
Client sends request
Controller receives request
Controller uses DTO to capture input
Service processes data
Service returns entity
Controller converts entity to DTO
Controller sends DTO response to client
This flow shows how DTOs act as a middle layer between client and server, capturing input and shaping output safely.