Open AbrarJahin opened 7 years ago
And all data should use View Model - DB Model Mapper Class to update and upload data
https://www.edandersen.com/2013/05/30/asp-net-mvc-basics-part-2-viewmodel-to-model-mapping-and-editing/
https://www.codeproject.com/Articles/1043977/Mapping-ViewModel-to-Model-in-ASP-NET-MVC-using-Im
https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/complex-data-model
And all data should use View Model - DB Model Mapper Class to update and upload data