This commit is contained in:
Илья Федотов 2024-05-28 18:52:21 +04:00
parent 18c1eb5d5f
commit 03ddb8eb00
2 changed files with 22 additions and 17 deletions

View File

@ -27,7 +27,6 @@
<p>
<a asp-action="CreateCostItem">Удалить</a>
</p>
// todo delete updates
<table class="table">
<thead>
<tr>

View File

@ -20,9 +20,15 @@
<p>
<a asp-action="CreateProduct">Создать товар</a>
</p>
<p>
<a asp-action="UpdateCostItem">Изменить</a>
</p>
<p>
<a asp-action="CreateCostItem">Удалить</a>
</p>
<table class="table">
<thead>
<th>
<tr>
<th>
Номер продукта
</th>
@ -35,11 +41,11 @@
<th>
Сумма
</th>
</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<th>
<tr>
<th>
@Html.DisplayFor(modelItem => item.ID)
</th>
@ -52,7 +58,7 @@
<th>
@Html.DisplayFor(modelItem => item.Price)
</th>
</th>
</tr>
}
</tbody>
</table>