asdasdasd

This commit is contained in:
Hukuta committed 2026-05-17 23:54:25 +09:00
1 parent c4182ec609
commit 9905cde527
76 files changed
+2895 -2529

No files matched your search

+12 -12
View File
@@ -1,5 +1,5 @@
using CartriX.Api.Interfaces;
using Microsoft.AspNetCore.Http;
using CartriX.Api.Mappers;
using Microsoft.AspNetCore.Mvc;
namespace CartriX.Api.Controllers
@@ -8,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.GetDatePerCountPrinted().Result;
// return Ok(result.Select(l => l.OnlyDataPerPrinted()));
//}
return Ok(result.Select(l => l.ToNoId()));
}
}
}