public async virtual Task RemoveLoginAsync(ApplicationUser user, UserLoginInfo login) { this.ThrowIfDisposed(); await this._userManagementService.RemoveLoginAsync(user.ToDomainUser(), login.ToDomainLogin(), new CancellationToken()); }
public async virtual Task<ApplicationUser> FindAsync(UserLoginInfo login) { this.ThrowIfDisposed(); User user = await this._userManagementService.GetByLoginAsync(login.ToDomainLogin(), new CancellationToken()); return user.FromDomainUser() ; }