Kod:
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.RolID)
</th>
<th>
@Html.DisplayFor(model => model.RolAdı)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.RolID)
</td>
<td>
@Html.DisplayFor(modelItem => item.Rol.RolAdı)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.RolID">Edit</a> |
<a asp-action="Details" asp-route-id="@item.RolID">Details</a> |
<a asp-action="Delete" asp-route-id="@item.RolID">Delete</a>
</td>
</tr>
Son düzenleyen: Moderatör: