public IActionResult GetReport(DateTime start, DateTime end) { try { var reports = new Repository.ReportRepository(context).GetReport(start, end); return(Ok(reports)); } catch (Exception) { throw; } }
public IActionResult StageDailyReport() { try { var staged = new Repository.ReportRepository(context).StageDailyReport(); return(Ok()); } catch (Exception) { throw; } }
public async Task <IActionResult> GetDailyChartReport() { try { var reports = new Repository.ReportRepository(context).GetDailyChartReport(); return(Ok(reports)); } catch (Exception) { throw; } }