public bool validateUserPurchase(int id, string user) { var db = new OrderDAL(); return db.validateUserPurchase(id, user); }
public bool save() { var db = new OrderDAL(); return db.save(); }
public Order getOrder(int? id) { var db = new OrderDAL(); return db.getOrder(id); }
public IEnumerable<Order> getOrderHistory(string id) { var db = new OrderDAL(); return db.getOrderHistory(id); }
public bool addOrder(Order order) { var db = new OrderDAL(); return db.addOrder(order); }