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