How to use DTO to transfer data between Service Layer and UI Layer or Web Api.
this picture explain my question. In addition, POCO entities must be separated from the presentation layer. The presentation layer can also be used in view models. What is the best way to do that?
How to use DTO to transfer data between Service Layer and UI Layer or Web Api. this picture explain my question. In addition, POCO entities must be separated from the presentation layer. The presentation layer can also be used in view models. What is the best way to do that?