Exemplo n.º 1
0
        public PartialViewResult ReloadUserInRole(int RoleID)
        {
            DM_VAITROBusiness = Get <DM_VAITROBusiness>();
            PhanQuyenVM model          = new PhanQuyenVM();
            var         ListUserInRole = DM_VAITROBusiness.GetListUserInRole(RoleID);

            model.ListUserInRole = ListUserInRole;
            return(PartialView("_UpdateUserInRole", model));
        }
Exemplo n.º 2
0
        public PartialViewResult ShowUserInRoleAction(int id)
        {
            DM_VAITROBusiness = Get <DM_VAITROBusiness>();
            PhanQuyenVM model          = new PhanQuyenVM();
            var         ListUserInRole = DM_VAITROBusiness.GetListUserInRole(id);

            model.ListUserInRole    = ListUserInRole;
            model.ListUserNotInRole = ListUserNotInRole(id);
            model.VaiTroID          = id;
            return(PartialView("_ShowUserInRoleAction", model));
        }