Hi @Sinan ,
We had a hard time finding exactly the documentation you mentioned.
From your description, you should want to use AutoMapper.
You can check the documentation to see if it's what you want.
https://docs.automapper.org/en/stable/Getting-started.html
https://github.com/thiago-vivas/Articles/tree/master/AutoMapperWebAPI
Here are some relevant links I found, hope you have what you are looking for.
https://learn.microsoft.com/en-us/aspnet/web-api/overview/data/using-web-api-with-entity-framework/part-5
https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-7.0&tabs=visual-studio#prevent-over-posting
https://docs.servicestack.net/api-design
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.