This commit is contained in:
Hukuta committed 2026-05-16 11:00:47 +09:00
1 parent 568f360548
commit c4182ec609
100 files changed
+2052 -3518

No files matched your search

+11 -12
View File
@@ -1,5 +1,4 @@
using CartriX.Api.Interfaces;
using CartriX.Shared.Mappers;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
@@ -9,17 +8,17 @@ namespace CartriX.Api.Controllers
[ApiController]
public class ReportController : ControllerBase
{
private readonly IReportService _reportService;
public ReportController(IReportService reportService)
{
_reportService = reportService;
}
[HttpGet("GetReportToDatePerCountPrinted")]
public IActionResult GetReportToDatePerCountPrinted()
{
var result = _reportService.GetReportToDatePerCountPrinted().Result;
//private readonly IReportService _reportService;
//public ReportController(IReportService reportService)
//{
// _reportService = reportService;
//}
//[HttpGet("GetReportToDatePerCountPrinted")]
//public IActionResult GetReportToDatePerCountPrinted()
//{
// var result = _reportService.GetReportToDatePerCountPrinted().Result;
return Ok(result.Select(l => l.OnlyDataPerPrinted()));
}
// return Ok(result.Select(l => l.OnlyDataPerPrinted()));
//}
}
}