public Customer GetCustomerByEmail(string emailToFind) { Customer foundCustomer; CustomerAccess customerDb = new CustomerAccess(); foundCustomer = customerDb.GetCustomerByEmail(emailToFind); return(foundCustomer); }
public Customer GetCustomerByEmail(string emailToFind) { Customer foundCustomer; CustomerAccess customerDb = new CustomerAccess(); foundCustomer = customerDb.GetCustomerByEmail(emailToFind); return(foundCustomer); }