예제 #1
0
        public ReportResponseItem GetReport(BaseReport report)
        {
            var response = report.GenerateModel();

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

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