/// <summary> /// 为角色指定新的人员列表 /// </summary> /// <param name="roleId">角色ID</param> /// <param name="newUserList">人员列表</param> /// <returns></returns> public bool EditRoleUsers(Int32 roleId, List <Int32> newUserList) { return(dal.EditRoleUsers(roleId, newUserList)); }
/// <summary> /// 为角色指定新的人员列表 /// </summary> /// <param name="roleID">角色ID</param> /// <param name="newUserList">人员列表</param> /// <returns></returns> public bool EditRoleUsers(int roleID, List <int> newUserList) { return(roleDal.EditRoleUsers(roleID, newUserList)); }