public virtual async Task UpdateRolesAsync(Guid id, IdentityUserUpdateRolesDto input) { var user = await UserManager.GetByIdAsync(id); (await UserManager.SetRolesAsync(user, input.RoleNames)).CheckErrors(); await UserRepository.UpdateAsync(user); }
public virtual Task UpdateRolesAsync(Guid id, IdentityUserUpdateRolesDto input) { return(UserAppService.UpdateRolesAsync(id, input)); }