Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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));
        }