public List<Person> GetPeopleWithPOST(PersonLookupInfo lookupInfo) { return GetPeople().Where(p => p.FirstName.ToLower().Contains(lookupInfo.Keyword.ToLower()) || p.LastName.ToLower().Contains(lookupInfo.Keyword.ToLower()) || p.PersonID.Equals(lookupInfo.Keyword)).ToList(); }
public List <Person> GetPeopleWithPOST(PersonLookupInfo lookupInfo) { return(GetPeople().Where(p => p.FirstName.ToLower().Contains(lookupInfo.Keyword.ToLower()) || p.LastName.ToLower().Contains(lookupInfo.Keyword.ToLower()) || p.PersonID.Equals(lookupInfo.Keyword)).ToList()); }