public OrderEntryService() { Customer customer = dao.addCustomer("David Hurng"); Customer customer2 = dao.addCustomer("Michelle Cady"); Product product = dao.addProduct("apples", 12); Product product2 = dao.addProduct("bananas", 6.25); Cart cart = dao.addOrder(customer, product); }
public Cart addOrder(Customer customer, Product product) { return dao.addOrder(customer, product); }