VirtualTask/Views/Chiusure/Index.cshtml
2023-09-14 17:31:52 +02:00

60 lines
1.4 KiB
Plaintext

@model IEnumerable<VirtualTask.Models.Chiusure>
@{
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.cccodazi)
</th>
<th>
@Html.DisplayNameFor(model => model.cccodice)
</th>
<th>
@Html.DisplayNameFor(model => model.ccdescr)
</th>
<th>
@Html.DisplayNameFor(model => model.ccdessup)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.cccodazi)
</td>
<td>
@Html.DisplayFor(modelItem => item.cccodice)
</td>
<td>
@Html.DisplayFor(modelItem => item.ccdescr)
</td>
<td>
@Html.DisplayFor(modelItem => item.ccdessup)
</td>
<td>
@Html.ActionLink("Edit", "Edit", new { id=item.cccodice }) |
@Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ }) |
@Html.ActionLink("Details", "Details", new { id=item.cccodice })
</td>
</tr>
}
</tbody>
</table>