I am struggling with picking up a new project coded in MVC. The original developer obviously didn't care one tiny bit. You know how that is. Anyway, they are using something beyond the Model interface, they are using both a DTO and Model. Can you please explain why anyone would do this? I am getting lost in the weeds because they also use EF, so when I need to update the database, I need to update 3-4 locations. Below is a screenshot - DTO is on the left.
And to top that off, they use something like below on almost all of the Controller Calls:
return contractorsQuery.ToList().Select(Mapper.Map<Contractor, ContractorDTO>);
I have tried reading and reading, but none of it is sinking in. Thanks so much!