My Question i have a project in blazor asp.net9 , My database consist of :
Parameter Table
Regular Table
Parent to Child Table
what is the best practice for API to use ;
Should Create models for my table, and create DTO for all tables included the prameter table. or use DTO for regular and parent to child table only.
Use Automapper is the correct decision.
Please advice and recommend the best and safe solution. Thanks in advance