fix
This commit is contained in:
parent
19aa04168b
commit
3a590e97b7
@ -145,11 +145,6 @@ namespace BankBusinessLogic.BusinessLogic
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
public void SendTransfersWithdrawalsToEmail(ReportBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user