public static List<Customer> GetCustomerByPhoneNumber(string phoneNumber) { BusinessObjects _businessObjects = new BusinessObjects(); List<Customer> customerList = _businessObjects.GetCustomerByLastName(phoneNumber); return customerList; }
public static List<Customer> GetCustomerByLastName(string lastName) { BusinessObjects _businessObjects = new BusinessObjects(); List<Customer> customerList = _businessObjects.GetCustomerByLastName(lastName); return customerList; }