public User FindByEmail(string email) { email.ThrowIfNull("email"); var appIdentityUser = _userManager.FindByEmail(email); var user = IdentityModelFactory.Create(appIdentityUser); return(user); }