ASP.NET MVC - Better UX approach to allowing child object editing than For loop and Partial Views
问题 I have a Contact object that has a number properties, including a child that is a list of Addresses. public class Contact { public int? Id { get; set; } public string Name { get; set; } public IReadOnlyList<IAddress> Addresses { [Lazy Load Code to populate and return list] } [...] } I want to allow the user to edit the addresses without having to edit (or post) the whole Contact object. Currently in the UI I have the addresses listed out with an Edit button next each one: I'm using the Modal