/// <summary> /// Show List of Action for specified Role /// </summary> /// <returns></returns> public ActionResult RoleAction(string RoleId) { try { Init("cabinet_role"); if (RoleId == "") { return(RedirectToAction("Role", "Cabinet")); } RoleAction roleAction = new RoleAction(shared); roleAction.SelectActionsInRole(RoleId); roleAction.SelectNewActionsForRole(RoleId); return(View(roleAction)); } catch (Exception ex) { return(ShowError(ex)); } }