Case_accounting/CaseAccounting/CaseAccountingRestApi/Controllers/ReportCustomerController .cs

26 lines
731 B
C#
Raw Normal View History

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]
public byte[] LawyerHearinglist(LawyerHearingListBindingModel listModel)
2023-05-20 01:21:33 +04:00
{
byte[] file = _reportCustomerLogic.SaveListFile(listModel);
return file;
}
}
2023-05-20 01:21:33 +04:00
}