From d7ddf1940788bd8207cd776c54a65f9769a840b9 Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Sun, 26 May 2024 12:54:09 +0400 Subject: [PATCH] fix transfer controller p.3 --- .../Controllers/TransferController.cs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Bank/BankRestApi/Controllers/TransferController.cs b/Bank/BankRestApi/Controllers/TransferController.cs index b807a91..b0d5ed2 100644 --- a/Bank/BankRestApi/Controllers/TransferController.cs +++ b/Bank/BankRestApi/Controllers/TransferController.cs @@ -20,21 +20,7 @@ namespace BankRestApi.Controllers } [HttpGet] - public List? getFullTransferList() - { - try - { - return _logic.ReadList(null); - } - catch (Exception ex) - { - _logger.LogError(ex, "Ошибка получения списка переводов"); - throw; - } - } - - [HttpGet] - public List? getTransferList(int managerId) + public List? getTransferList(int? managerId) { try {