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