Return a viewmodel with IEnumerable's to view and use razor to loop variables into the same row
问题 In a razor view, how can I loop through different IEnumerables in a ViewModel and display their variables as columns in the same row? I Return an instance of a viewmodel which is populated with IEnumerables of different models to a mvc view like so: Viewmodel: namespace example.ViewModels { public class ClaimModel { public IEnumerable<Claim> Claims { get; set; } public IEnumerable<Member> Members { get; set; } public IEnumerable<ID> IDs { get; set; } } } My controller which return the view