From 03ddb8eb00707aa4ea9ad6e9d16a47b5092167ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=A4=D0=B5=D0=B4=D0=BE=D1=82?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Tue, 28 May 2024 18:52:21 +0400 Subject: [PATCH] fix --- .../Views/Home/CostItem.cshtml | 1 - .../Views/Home/Index.cshtml | 38 +++++++++++-------- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/ElectronicsShop/ElectronicsShopEmployeeApp/Views/Home/CostItem.cshtml b/ElectronicsShop/ElectronicsShopEmployeeApp/Views/Home/CostItem.cshtml index 40831f9..69c48aa 100644 --- a/ElectronicsShop/ElectronicsShopEmployeeApp/Views/Home/CostItem.cshtml +++ b/ElectronicsShop/ElectronicsShopEmployeeApp/Views/Home/CostItem.cshtml @@ -27,7 +27,6 @@

Удалить

- // todo delete updates diff --git a/ElectronicsShop/ElectronicsShopEmployeeApp/Views/Home/Index.cshtml b/ElectronicsShop/ElectronicsShopEmployeeApp/Views/Home/Index.cshtml index 85d737c..1b5e671 100644 --- a/ElectronicsShop/ElectronicsShopEmployeeApp/Views/Home/Index.cshtml +++ b/ElectronicsShop/ElectronicsShopEmployeeApp/Views/Home/Index.cshtml @@ -20,26 +20,32 @@

Создать товар

+

+ Изменить +

+

+ Удалить +

- - - - - + + + + + + @foreach (var item in Model) { - @@ -52,7 +58,7 @@ - + }
- - Номер продукта - - Название продукта - - Статья затрат - - Сумма -
+ Номер продукта + + Название продукта + + Статья затрат + + Сумма +
+
@Html.DisplayFor(modelItem => item.ID) @Html.DisplayFor(modelItem => item.Price)