Revert "fix transfer controller p.3"

This reverts commit d7ddf19407.
This commit is contained in:
Zakharov_Rostislav 2024-05-26 12:57:46 +04:00
parent d7ddf19407
commit 6358f6481b

View File

@ -20,7 +20,21 @@ namespace BankRestApi.Controllers
}
[HttpGet]
public List<TransferViewModel>? getTransferList(int? managerId)
public List<TransferViewModel>? getFullTransferList()
{
try
{
return _logic.ReadList(null);
}
catch (Exception ex)
{
_logger.LogError(ex, "Ошибка получения списка переводов");
throw;
}
}
[HttpGet]
public List<TransferViewModel>? getTransferList(int managerId)
{
try
{