コード例 #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());
        }