public ActionResult Index(string path) { string query = this.Request?.Url?.Query.Or(""); var model = ReportModel.GetDefinition(path, query, this.Tenant, this.Request); model.Path = path; return(this.View("~/Areas/Frapid.Reports/Views/Index.cshtml", model)); }
public ActionResult Index(string path) { string query = this.Request?.Url?.Query.Or(""); var model = ReportModel.GetDefinition(path, query, this.Tenant, this.Request); model.Path = path; return(this.View(this.GetRazorView <AreaRegistration>("Source.cshtml", this.Tenant), model)); }