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()); }
public List <SysRole> GetUsersList() { return(_ISysRoleServices.GetList()); }