public ActionResult FilteredComplaints() { ViewBag.RoleEntityValue = RoleEntityValue; ViewBag.UserRole = UserRoles.First(); ViewBag.UserId = UserId.ToString(); pageInfo _pageInfo = new pageInfo() { title = "Filtered Complaints" }; _pageInfo.LayoutPage = ""; return View(_pageInfo); }
public ActionResult ComplianceReport(string reportType) { //Save the Report Type in ViewBag. It will be stored in the Hidden field on the Page ViewBag.ReportType = reportType; ViewBag.RoleEntityValue = RoleEntityValue; ViewBag.UserRole = UserRoles.First(); pageInfo _pageInfo = new pageInfo() { title = "Report " + reportType }; _pageInfo.LayoutPage = ""; return View("Report" + reportType, _pageInfo); }
public ActionResult Index(int? workspaceId, int? moduleId, int? pageMenuId) { workspaceId = workspaceId ?? 0; moduleId = moduleId ?? 0; pageMenuId = pageMenuId ?? 0; pageInfo p = new pageInfo() { title = "Mined System Compliance Tracking Tool", currentWorkspaceId = workspaceId.Value, currentModuleId = moduleId.Value, currentPageMenuId = pageMenuId.Value }; return View("Index", p); }