Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        public ReportTree GetReportTree(string category)
        {
            var reports = ReportRegistry.GetAvailableReportsInCategory(category);

            return(ReportTree.FromList(reports, category));
        }