public IActionResult AddReport(ReportDto dto) { Report report = ReportMapper.ReportDtoToReport(dto); App.Instance().ReportService.AddEntity(report); return(Ok()); }
public IActionResult AddReport(ReportDto dto) { Report report = ReportMapper.ReportDtoToReport(dto); App.Instance().ReportService.AddEntity(report); return(Ok()); }