MVC - Model - View Model Structure
问题 Quick question, having a look around it seems this is the case, but it seems a bit like code-duplication to me, which I see as a waste of time. This is an object in my Model layer, so outside of my MVC project, separate all together. public class MyObject { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string EmailAddress { get; set; } } But then, inside of my MVC project, i'm supposed to have as a ViewModel class? public class