EF7 nested Include not showing in Razor .net
问题 I have my models like this: Goup.cs GroupUser (pivot table) ApplicationUser (User) -> 4. Profile And now I want to show the data in Profile on a details page when the User belongs to the group. I'm doing this like this: private IEnumerable<GroupUser> GetUsers(int groupId) { IEnumerable<GroupUser> model = null; if(groupId == 0) { model = _kletsContext.GroupUser.OrderByDescending(o => o.GroupId).AsEnumerable(); } else { model = _kletsContext.GroupUser.Where(g => g.GroupId == groupId).Include(p