public ActionResult GetViewToEditGroup(int groupId) { var groupInfo = new GroupUserInfo(); try { groupInfo = GroupUserBL.GetGroupById(groupId); } catch (Exception ex) { Logger.LogException(ex); } return(PartialView("~/Areas/ModuleUsersAndRoles/Views/GroupUser/_PartialEditGroup.cshtml", groupInfo)); }
public ActionResult GetFunctionsInGroup(int groupId) { var htmlTreeViewFunctionsInGroup = string.Empty; try { var groupInfo = GroupUserBL.GetGroupById(groupId); ViewBag.GroupInfo = groupInfo; var groupBL = new GroupUserBL(); htmlTreeViewFunctionsInGroup = groupBL.GetHtmlTreeViewFunctionsInGroup(groupId); } catch (Exception ex) { Logger.LogException(ex); } return(PartialView("~/Areas/ModuleUsersAndRoles/Views/GroupUser/_PartialSetupFunctionsToGroup.cshtml", htmlTreeViewFunctionsInGroup)); }