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