Compare commits
2 Commits
570260e48d
...
bee9621cba
Author | SHA1 | Date | |
---|---|---|---|
bee9621cba | |||
6454d992ea |
@ -54,7 +54,7 @@ namespace BankBusinessLogic.BusinessLogic
|
||||
});
|
||||
}
|
||||
|
||||
public void SaveRequestsComponentsToExcelFile(ReportBindingModel model)
|
||||
public void SaveRequestsToExcelFile(ReportBindingModel model)
|
||||
{
|
||||
_saveToExcel.CreateRequestsDoc(new ExcelInfo
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
using BankContracts.SearchModels;
|
||||
using BankContracts.BindingModels;
|
||||
using BankContracts.SearchModels;
|
||||
using BankContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@ -14,5 +15,13 @@ namespace BankContracts.BusinessLogicsContracts
|
||||
List<ReportOperationsRequestsViewModel> CreateReportOperationsRequests(CardSearchModel model);
|
||||
List<ReportRequestsViewModel> CreateReportRequests(AccountSearchModel model);
|
||||
List<ReportTransfersWithdrawalsViewModel> CreateReportTransfersWithdrawals(AccountSearchModel model);
|
||||
}
|
||||
void SaveRequestsToExcelFile(ReportBindingModel model);
|
||||
void SaveRequestsToWordFile(ReportBindingModel model);
|
||||
void SaveTransfersToWordFile(ReportBindingModel model);
|
||||
void SaveTransfersToExcelFile(ReportBindingModel model);
|
||||
void SaveOperationsRequestsToPdfFile(ReportBindingModel model);
|
||||
void SaveTransfersWithdrawalsToPdfFile(ReportBindingModel model);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -30,7 +30,14 @@ namespace BankRestApi.Controllers
|
||||
[HttpPost]
|
||||
public void SaveTransfersToWord(ReportBindingModel? model)
|
||||
{
|
||||
try
|
||||
{
|
||||
_logic.(model);
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
[HttpPost]
|
||||
public void SaveTransfersToExcel(ReportBindingModel? model)
|
||||
|
Loading…
Reference in New Issue
Block a user