DEV Community

Discussion on: Clean code architecture and CQRS pattern based web api using .NetCore

Collapse
 
1304654 profile image
1304654

I understand. But in the case of return the same properties. It should be better return the entity instead of "duplicate " the object contract? Thank for the response.

Thread Thread
 
silentrobi profile image
Mohammad Abu Musa RABIUL

You can do that if you need to return exact entity.