This commit is contained in:
Zakharov_Rostislav 2024-05-27 01:51:16 +04:00
parent 19aa04168b
commit 3a590e97b7
3 changed files with 1 additions and 22 deletions

View File

@ -145,11 +145,6 @@ namespace BankBusinessLogic.BusinessLogic
})
});
}
public void SendTransfersWithdrawalsToEmail(ReportBindingModel model)
{
throw new NotImplementedException();
}
#endregion
}
}

View File

@ -22,7 +22,5 @@ namespace BankContracts.BusinessLogicsContracts
void SaveTransfersToExcelFile(ReportBindingModel model);
void SaveOperationsRequestsToPdfFile(ReportBindingModel model);
void SaveTransfersWithdrawalsToPdfFile(ReportBindingModel model);
void SendTransfersWithdrawalsToEmail(ReportBindingModel model);
void SandOperationsRequestsToEmail(ReportBindingModel model);
}
}

View File

@ -75,21 +75,7 @@ namespace BankRestApi.Controllers
{
try
{
_logic.SendTransfersWithdrawalsToEmail(model);
}
catch (Exception ex)
{
_logger.LogError(ex, "Ошибка сохранения переводов в ворд");
throw;
}
}
[HttpPost]
public void SendOperationsRequestsToEmail(ReportBindingModel model)
{
try
{
_logic.SandOperationsRequestsToEmail(model);
_logic.SaveTransfersWithdrawalsToPdfFile(model);
}
catch (Exception ex)
{