From 855681d65e0258f9a923ec7a733f3022e5952b69 Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Wed, 1 May 2024 13:30:16 +0400 Subject: [PATCH] ManagerClientApp in process --- .../Controllers/HomeController.cs | 6 ++ .../Views/Home/Transfers.cshtml | 58 +++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 Bank/BankManagersClientApp/Views/Home/Transfers.cshtml diff --git a/Bank/BankManagersClientApp/Controllers/HomeController.cs b/Bank/BankManagersClientApp/Controllers/HomeController.cs index f52c848..fbbdd7a 100644 --- a/Bank/BankManagersClientApp/Controllers/HomeController.cs +++ b/Bank/BankManagersClientApp/Controllers/HomeController.cs @@ -22,6 +22,12 @@ namespace BankManagersClientApp.Controllers return View(); } + [HttpGet] + public IActionResult Enter() + { + return View(); + } + public IActionResult Privacy() { return View(); diff --git a/Bank/BankManagersClientApp/Views/Home/Transfers.cshtml b/Bank/BankManagersClientApp/Views/Home/Transfers.cshtml new file mode 100644 index 0000000..5729a07 --- /dev/null +++ b/Bank/BankManagersClientApp/Views/Home/Transfers.cshtml @@ -0,0 +1,58 @@ +@using BankContracts.ViewModels +@model List +@{ + ViewData["Title"] = "Transfers"; +} +
+

Переводы

+
+
+ @{ + if (Model == null) + { +

Авторизируйтесь

+ return; + } +

+ Создать перевод +

+ + + + + + + + + + + + @foreach (var item in Model) + { + + + + + + + + } + +
НомерСуммаВремя выполненияОтправительПолучатель
+ @Html.DisplayFor(modelItem => + item.Id) + + @Html.DisplayFor(modelItem => + item.Sum) + + @Html.DisplayFor(modelItem => + item.OperationTime) + + @Html.DisplayFor(modelItem => + item.SenderCardNumber) + + @Html.DisplayFor(modelItem => + item.RecipientCardNumber) +
+ } +
\ No newline at end of file