AirTNG.Web.Models.Repository.UsersRepository.FindByPhoneNumberAsync C# (CSharp) Method

FindByPhoneNumberAsync() public method

public FindByPhoneNumberAsync ( string phoneNumber ) : Task
phoneNumber string
return Task
        public async Task<ApplicationUser> FindByPhoneNumberAsync(string phoneNumber)
        {
            return await _context.Users.FirstAsync(u => u.PhoneNumber == phoneNumber);
        }
    }