VirtualTask/Views/Tecnici/Index.cshtml

90 lines
2.5 KiB
Plaintext

@model IEnumerable<VirtualTask.Models.Tecnici>
@{
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.tccodazi)
</th>
<th>
@Html.DisplayNameFor(model => model.tccodice)
</th>
<th>
@Html.DisplayNameFor(model => model.tcdescri)
</th>
<th>
@Html.DisplayNameFor(model => model.tctelef1)
</th>
<th>
@Html.DisplayNameFor(model => model.tcuser)
</th>
<th>
@Html.DisplayNameFor(model => model.tcpwd)
</th>
<th>
@Html.DisplayNameFor(model => model.tccoor)
</th>
<th>
@Html.DisplayNameFor(model => model.tccono)
</th>
<th>
@Html.DisplayNameFor(model => model.tccost)
</th>
<th>
@Html.DisplayNameFor(model => model.tccofe)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.tccodazi)
</td>
<td>
@Html.DisplayFor(modelItem => item.tccodice)
</td>
<td>
@Html.DisplayFor(modelItem => item.tcdescri)
</td>
<td>
@Html.DisplayFor(modelItem => item.tctelef1)
</td>
<td>
@Html.DisplayFor(modelItem => item.tcuser)
</td>
<td>
@Html.DisplayFor(modelItem => item.tcpwd)
</td>
<td>
@Html.DisplayFor(modelItem => item.tccoor)
</td>
<td>
@Html.DisplayFor(modelItem => item.tccono)
</td>
<td>
@Html.DisplayFor(modelItem => item.tccost)
</td>
<td>
@Html.DisplayFor(modelItem => item.tccofe)
</td>
<td>
@Html.ActionLink("Edit", "Edit", new { id=item.tccodice }) |
@Html.ActionLink("Details", "Details", new { id=item.tccodice }) |
@Html.ActionLink("Delete", "Delete", new { id=item.tccodice })
</td>
</tr>
}
</tbody>
</table>