public ReportResponseItem GetReport(BaseReport report) { var response = report.GenerateModel(); return(response.model); }
private IActionResult RenderReport(BaseReport report) { var(result, exception) = report.GenerateModel(cache); return(exception != null?RedirectToError(exception) : View("Index", result)); }