示例#1
0
    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);
    }
示例#2
0
    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);
    }