public ActionResult Index(string id) { id = "Cengaver"; var reports = ReportRegistry.GetAvailableReportsInCategory(null); var model = CreatePageModel(reports, id); return(View("~/Modules/Common/Reporting/ReportIndex.cshtml", model)); }
public ReportTree GetReportTree(string category) { var reports = ReportRegistry.GetAvailableReportsInCategory(category); return(ReportTree.FromList(reports, category)); }