From e4b4105ec0802dd0f1b735e5cb7fba083a0ffe0c Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Thu, 16 Feb 2023 08:28:59 +0300 Subject: Add edit page --- Views/Bundles/Edit.cshtml | 34 ++++++++++++++++++++++++++++++++++ Views/Bundles/Index.cshtml | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 Views/Bundles/Edit.cshtml (limited to 'Views') diff --git a/Views/Bundles/Edit.cshtml b/Views/Bundles/Edit.cshtml new file mode 100644 index 0000000..60a2420 --- /dev/null +++ b/Views/Bundles/Edit.cshtml @@ -0,0 +1,34 @@ +@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 index 4f3a120..6c36cb7 100644 --- a/Views/Bundles/Index.cshtml +++ b/Views/Bundles/Index.cshtml @@ -25,7 +25,7 @@ { @bundle.Id - @bundle.Name + @bundle.Name @bundle.Description @bundle.Price -- cgit v1.2.3