public async Task UpdateUserRelation(Role role, UserRoleRelation relation) { relation.Role = role; await _userRoleRelationStore.Update(relation); }
public async Task UpdateUserRelation(UserRoleRelation relation) { await _imp.UpdateUserRelation(this, relation); }
public async Task AddUserRelation(Role role, UserRoleRelation relation) { relation.Role = role; await _userRoleRelationStore.Add(relation); }
/// <summary> /// 增加用户关联关系 /// </summary> /// <param name="userKey"></param> /// <returns></returns> public async Task AddUserRelation(UserRoleRelation relation) { await _imp.AddUserRelation(this, relation); }