Пример #1
0
 /// <summary>
 /// Finds people based on the given arguments.
 /// </summary>
 /// <param name="firstname">The firstname.</param>
 /// <param name="initial">The middle initial.</param>
 /// <param name="lastname">The lastname.</param>
 /// <param name="phonenumber">The phonenumber.</param>
 /// <param name="hcn">The health card number/</param>
 /// <returns>All people who match</returns>
 public object FindPerson(string firstname, char?initial, string lastname, string phonenumber, string hcn)
 {
     return(people.Find(firstname, initial, lastname, phonenumber, hcn).FirstOrDefault());
 }