From 72506589a9773969e9fb26ed113d1af3a7f8d55c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C=20=D0=93=D0=BE=D1=80=D0=B4?= =?UTF-8?q?=D0=B5=D0=B5=D0=B2?= <89176335310x@gmail.com> Date: Sat, 1 Jun 2024 02:50:15 +0400 Subject: [PATCH] HelpMe --- .../Controllers/HomeController.cs | 6 +++- .../Views/Home/Report.cshtml | 28 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 ElectronicsShop/ElectronicsShopShopClientApp/Views/Home/Report.cshtml diff --git a/ElectronicsShop/ElectronicsShopShopClientApp/Controllers/HomeController.cs b/ElectronicsShop/ElectronicsShopShopClientApp/Controllers/HomeController.cs index 03a2567..45ff827 100644 --- a/ElectronicsShop/ElectronicsShopShopClientApp/Controllers/HomeController.cs +++ b/ElectronicsShop/ElectronicsShopShopClientApp/Controllers/HomeController.cs @@ -217,8 +217,12 @@ namespace ElectronicsShopUserApp.Controllers { [HttpGet] public IActionResult Report() { - //ViewBag.Reports = APIClient.GetRequset>($"api/main/getproducts"); íàïèñàòü íîðìàëüíûå äàííûå îá îò÷¸òàõ return View(); + } + [HttpPost] + public void Report(int count) + { + } [HttpGet] public IActionResult Message() diff --git a/ElectronicsShop/ElectronicsShopShopClientApp/Views/Home/Report.cshtml b/ElectronicsShop/ElectronicsShopShopClientApp/Views/Home/Report.cshtml new file mode 100644 index 0000000..5db8fa9 --- /dev/null +++ b/ElectronicsShop/ElectronicsShopShopClientApp/Views/Home/Report.cshtml @@ -0,0 +1,28 @@ +@{ + ViewData["Title"] = "Report"; +} +
+

Отчёты

+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
\ No newline at end of file