@using UniversityContracts.ViewModels @model List @{ ViewData["Title"] = "Сведения по планам обучения"; }

@ViewData["Title"]

@foreach (var item in Model) { }
Id План обучения Студенты Дисциплины
@Html.DisplayFor(modelItem => item.Id) @Html.DisplayFor(modelItem => item.PlanOfStudyName) @foreach (var student in item.StudentName) {
@Html.DisplayFor(modelItem => student)
}
@foreach (var discipline in item.DisciplineName) {
@Html.DisplayFor(modelItem => discipline)
}