From 3c83f9f4b01b5965e04739e5f8accf3235f8f699 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Mon, 20 Feb 2023 21:53:21 +0300 Subject: Add base crud actions for bundles --- Views/Bundles/Add.cshtml | 33 --------------------------------- Views/Bundles/Edit.cshtml | 34 ---------------------------------- Views/Bundles/Index.cshtml | 41 ----------------------------------------- 3 files changed, 108 deletions(-) delete mode 100644 Views/Bundles/Add.cshtml delete mode 100644 Views/Bundles/Edit.cshtml delete mode 100644 Views/Bundles/Index.cshtml (limited to 'Views/Bundles') diff --git a/Views/Bundles/Add.cshtml b/Views/Bundles/Add.cshtml deleted file mode 100644 index 36b329b..0000000 --- a/Views/Bundles/Add.cshtml +++ /dev/null @@ -1,33 +0,0 @@ -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -@model MyDarling.Models.UnderwearBundle - - - - - - New bundle - - - - - -
-
-
- - -
-
- - -
-
- - -
- -
-
- - - \ No newline at end of file diff --git a/Views/Bundles/Edit.cshtml b/Views/Bundles/Edit.cshtml deleted file mode 100644 index 60a2420..0000000 --- a/Views/Bundles/Edit.cshtml +++ /dev/null @@ -1,34 +0,0 @@ -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers - - - - - - Bundles list - - - - - - - - - - - - - - - - - - - - - - -
#NameDescritionPrice
@Model.Id@Model.Name@Model.Description@Model.Price
-
- - - \ No newline at end of file diff --git a/Views/Bundles/Index.cshtml b/Views/Bundles/Index.cshtml deleted file mode 100644 index 01c5a31..0000000 --- a/Views/Bundles/Index.cshtml +++ /dev/null @@ -1,41 +0,0 @@ -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -@model MyDarling.Models.IRepository - - - - - - Bundles list - - - - - - - - - - - - - - - - - @foreach (var bundle in Model.Bundles) - { - - - - - - - - } - -
#NameDescritionPriceActions
@bundle.Id@bundle.Name@bundle.Description@bundle.PriceDelete
- Add bundle -
- - - \ No newline at end of file -- cgit v1.2.3