add regions into BankManagersClientApp/Controllers/HomeController

This commit is contained in:
Zakharov_Rostislav 2024-05-17 14:32:10 +04:00
parent 42e81ac59f
commit b1b24d2f96

View File

@ -13,6 +13,7 @@ namespace BankManagersClientApp.Controllers
_logger = logger;
}
#region//работа с аккаунтом
public IActionResult Privacy()
{
if (APIClient.Manager == null)
@ -32,7 +33,9 @@ namespace BankManagersClientApp.Controllers
{
return View();
}
#endregion
#region//работа со счетами
public IActionResult Index()
{
if (APIClient.Manager == null)
@ -68,8 +71,10 @@ namespace BankManagersClientApp.Controllers
}
return View();
}
#endregion
public IActionResult Transfers()
#region//работа с переводами
public IActionResult Transfers()
{
if (APIClient.Manager == null)
{
@ -104,7 +109,9 @@ namespace BankManagersClientApp.Controllers
}
return View();
}
#endregion
#region//работа с выдачами
public IActionResult Withdrawals()
{
if (APIClient.Manager == null)
@ -149,7 +156,9 @@ namespace BankManagersClientApp.Controllers
}
return View();
}
#endregion
#region//работа с отчётами
public IActionResult RequestsListReport()
{
if (APIClient.Manager == null)
@ -167,11 +176,14 @@ namespace BankManagersClientApp.Controllers
}
return View();
}
#endregion
#region//ошибка
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
#endregion
}
}