Esempio n. 1
0
        public IActionResult SetUserRole(string id)
        {
            var userRoleList = _ISysUserServices.GetUserRoleList(id);
            var roleList     = _ISysRoleServices.GetList();

            ViewBag.RoleList     = roleList;
            ViewBag.UserRoleList = userRoleList;
            ViewBag.UserId       = id;
            return(View());
        }
Esempio n. 2
0
 public List <SysRole> GetUsersList()
 {
     return(_ISysRoleServices.GetList());
 }