fix transfer controller p.3

This commit is contained in:
Zakharov_Rostislav 2024-05-26 12:54:09 +04:00
parent 0e74bece33
commit d7ddf19407

View File

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