Show model in ATA response CRUD.

This commit is contained in:
2019-11-08 01:11:14 +00:00
parent 8ba281b0da
commit 0ff7684370

View File

@@ -33,11 +33,13 @@
// Copyright © 2011-2019 Natalia Portillo
// ****************************************************************************/
}
ATA IDENTIFY DEVICE responses
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Identify)
@Html.DisplayNameFor(model => model.IdentifyDevice.Value.Model)
</th>
<th></th>
</tr>
@@ -46,7 +48,7 @@
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Identify)
@Html.DisplayFor(modelItem => item.IdentifyDevice.Value.Model)
</td>
<td>
<a asp-action="Details" asp-route-id="@item.Id" class="btn btn-primary">Details</a>