public ReportResponseItem GetReport(BaseReport report)
        {
            var response = report.GenerateModel();

            return(response.model);
        }
Esempio n. 2
0
        private IActionResult RenderReport(BaseReport report)
        {
            var(result, exception) = report.GenerateModel(cache);

            return(exception != null?RedirectToError(exception) : View("Index", result));
        }