My question: I have a Blazor project on .NET 9. My database consists of:
- Parameter table
- Regular table
- Parent-to-child table
What is the best practice for API to use?
Should I create models for my table, and create DTO for all tables included the parameter 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