Monday, 20 July 2020

Dto or response object

I am exposing an api in my controller which internally calls another api.after getting the result from the internal api, what is the best method to give back response for original api?1 give it as it is? 2 create a dto and map to it 3 create a apiresponse object and map to it? Pls advice

Submitted July 20, 2020 at 05:39PM by MardGreer93

No comments:

Post a Comment