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 void updatePrice(int id, double price) {
   dao.updatePrice(id, price);
 }
 public Product searchProductID(int id) {
   return dao.searchProductID(id);
 }
 public Cart getSpecOrder(int id) {
   return dao.getSpecOrder(id);
 }
 public void addToCart(Cart cart, String prodName) {
   dao.addToCart(cart, prodName);
 }
 public Cart searchCart(int id) {
   return dao.searchCart(id);
 }
 public Cart addOrder(Customer customer, Product product) {
   return dao.addOrder(customer, product);
 }
 public Cart getCart(int id) {
   Cart cart = dao.getSpecOrder(id);
   return cart;
 }
 public Customer searchCustomer(String name) {
   return dao.searchCustomer(name);
 }
 public Customer searchCustomerID(int customerID) {
   return dao.searchCustomerID(customerID);
 }
 public Product addProduct(String name, double price) {
   return dao.addProduct(name, price);
 }
 public Customer addCustomer(String name) {
   return dao.addCustomer(name);
 }
 public void updateOrder(Cart cart) {
   dao.updateCart(cart);
 }
 public void submitOrder(Cart cart) {
   dao.submitOrder(cart);
 }
 public void updateTotal(Cart cart) {
   dao.updateTotal(cart);
 }
 public Product searchProduct(String name) {
   return dao.searchProduct(name);
 }
 public void deleteCart(int id) {
   dao.deleteCart(id);
 }
 public List<Cart> getCart() {
   List<Cart> orders = dao.getOrders();
   return orders;
 }