59 lines
1.3 KiB
Plaintext
59 lines
1.3 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.PrimaryKey */ }) |
|
|
@Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|