public static List <CUSTOMER> GetAllCUSTOMERsByCUSTIDNUMBER_CUSTDOB(string cUSTIDNUMBER, DateTime cUSTDOB) { List <CUSTOMER> cUSTOMERs = new List <CUSTOMER>(); SqlCUSTOMERProvider sqlCUSTOMERProvider = new SqlCUSTOMERProvider(); cUSTOMERs = sqlCUSTOMERProvider.GetAllCUSTOMERsForSearch(cUSTIDNUMBER, cUSTDOB); return(cUSTOMERs); }
public static List <CUSTOMER> GetAllCUSTOMERsForSearch(int customerID, string phoneNumber, string drivingLicense, string ssn, string customerFName, string customerMName, string customerLName) { List <CUSTOMER> cUSTOMERs = new List <CUSTOMER>(); SqlCUSTOMERProvider sqlCUSTOMERProvider = new SqlCUSTOMERProvider(); cUSTOMERs = sqlCUSTOMERProvider.GetAllCUSTOMERsForSearch(customerID, phoneNumber, drivingLicense, ssn, customerFName, customerMName, customerLName); return(cUSTOMERs); }