116 lines
4.0 KiB
Plaintext
116 lines
4.0 KiB
Plaintext
@model IEnumerable<Moshaverino.Web.Models.Student>
|
|
|
|
@{
|
|
ViewData["Title"] = "Index";
|
|
}
|
|
|
|
<h1>Index</h1>
|
|
|
|
|
|
<p>
|
|
<a asp-action="Create">Create New</a>
|
|
</p>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.PhoneNumber)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Code)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.HumenSex)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.FullName)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.StudyField)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.StudyGrade)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.AverageNumber)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.FavoriteLesson)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.UnFavoriteLesson)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.FavoriteExam)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.AverageTaraz)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.CreationTime)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.RemoveTime)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.IsRemoved)
|
|
</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model)
|
|
{
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.PhoneNumber)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Code)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.HumenSex)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.FullName)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.StudyField)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.StudyGrade)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.AverageNumber)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.FavoriteLesson)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.UnFavoriteLesson)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.FavoriteExam)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.AverageTaraz)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.CreationTime)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.RemoveTime)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.IsRemoved)
|
|
</td>
|
|
<td>
|
|
<a asp-action="Edit" asp-route-id="@item.StudentId">Edit</a> |
|
|
<a asp-action="Details" asp-route-id="@item.StudentId">Details</a> |
|
|
<a asp-action="Delete" asp-route-id="@item.StudentId">Delete</a>
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|