예제 #1
0
        public async Task <User> FindByEmailAsync(string email)
        {
            email.ThrowIfNull("email");

            var appIdentityUser = await _userManager.FindByEmailAsync(email);

            var user = IdentityModelFactory.Create(appIdentityUser);

            return(user);
        }