mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
d
This commit is contained in:
1 parent
568f360548
commit
c4182ec609
100 files changed
+2052
-3518
No files matched your search
@@ -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()));
|
||||
//}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user