コード例 #1
0
ファイル: IdentityUserAppService.cs プロジェクト: zredb/abp
 public async Task <IdentityUserDto> FindByEmailAsync(string email)
 {
     return(ObjectMapper.Map <IdentityUser, IdentityUserDto>(
                await _userManager.FindByEmailAsync(email)
                ));
 }
コード例 #2
0
 public virtual async Task <IdentityUserDto> FindByEmailAsync(string email)
 {
     return(ObjectMapper.Map <IdentityUser, IdentityUserDto>(
                await _userManager.FindByEmailAsync(email)
                .ConfigureAwait(false)));
 }