public async Task <IdentityUserDto> FindByEmailAsync(string email) { return(ObjectMapper.Map <IdentityUser, IdentityUserDto>( await _userManager.FindByEmailAsync(email) )); }
public virtual async Task <IdentityUserDto> FindByEmailAsync(string email) { return(ObjectMapper.Map <IdentityUser, IdentityUserDto>( await _userManager.FindByEmailAsync(email) .ConfigureAwait(false))); }