public ActionResult FindGroup(string keysSearch, string options) { var lstGroups = new List <GroupUserInfo>(); try { var groupBL = new GroupUserBL(); lstGroups = groupBL.FindGroup(keysSearch, options); ViewBag.Paging = groupBL.GetPagingHtml(); } catch (Exception ex) { Logger.LogException(ex); } return(PartialView("~/Areas/ModuleUsersAndRoles/Views/GroupUser/_PartialTableListGroups.cshtml", lstGroups)); }
public ActionResult ListGroup() { var lstGroups = new List <GroupUserInfo>(); try { var groupBL = new GroupUserBL(); lstGroups = groupBL.FindGroup(); ViewBag.Paging = groupBL.GetPagingHtml(); } catch (Exception ex) { Logger.LogException(ex); } return(View("~/Areas/ModuleUsersAndRoles/Views/GroupUser/ListGroup.cshtml", lstGroups)); }