2023-05-20 01:21:33 +04:00
|
|
|
|
using CaseAccountingContracts.BindingModels;
|
|
|
|
|
using CaseAccountingContracts.BusinessLogicContracts;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
|
|
namespace CaseAccountingRestApi.Controllers
|
|
|
|
|
{
|
|
|
|
|
[Route("api/[controller]/[action]")]
|
|
|
|
|
[ApiController]
|
|
|
|
|
public class ReportCustomerController : Controller
|
|
|
|
|
{
|
|
|
|
|
private readonly IReportCustomerLogic _reportCustomerLogic;
|
|
|
|
|
|
|
|
|
|
public ReportCustomerController(IReportCustomerLogic reportLogic)
|
|
|
|
|
{
|
|
|
|
|
_reportCustomerLogic = reportLogic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[HttpPost]
|
2023-05-23 00:11:38 +04:00
|
|
|
|
public byte[] LawyerHearinglist(LawyerHearingListBindingModel listModel)
|
2023-05-20 01:21:33 +04:00
|
|
|
|
{
|
|
|
|
|
byte[] file = _reportCustomerLogic.SaveListFile(listModel);
|
|
|
|
|
return file;
|
|
|
|
|
}
|
2023-05-23 00:11:38 +04:00
|
|
|
|
}
|
2023-05-20 01:21:33 +04:00
|
|
|
|
}
|