public bool UpdateOrder(Order order) { OrderHandler myHandler = new OrderHandler(); return myHandler.UpdateOrder(order); }
public OrderItem AddOrder(Order order) { OrderHandler myHandler = new OrderHandler(); return myHandler.CreateOrder(order); }
public List<Order> GetOrdersList() { OrderHandler myHandler = new OrderHandler(); return myHandler.GetOrdersList(); }
public List<Order> GetSupplierOrders(int SupplierID) { OrderHandler myHandler = new OrderHandler(); return myHandler.GetOrdersForSupplier(SupplierID); }
public Order GetOrder(int orderNo) { OrderHandler myHandler = new OrderHandler(); return myHandler.GetOrder(orderNo); }
public List<Order> GetOrderByRange(string from, string to, int SupplierID) { OrderHandler myHandler = new OrderHandler(); return myHandler.GetOrdersInRasnge(from, to, SupplierID); }
public List<Order> GetAllPendingOrders() { OrderHandler myHandler = new OrderHandler(); return myHandler.GetAllPendingOrders(); }
public List<Order> GetAllOrdersForInvoice(int InvoiceID) { OrderHandler myHandler = new OrderHandler(); return myHandler.GetOrdersForInvoice(InvoiceID); }
public List<Order> GetAllCompletedOrders() { OrderHandler myHandler = new OrderHandler(); return myHandler.GetAllCompletedOrders(); }
public bool DeleteOrder(int orderNo) { OrderHandler myHandler = new OrderHandler(); return myHandler.DeleteOrder(orderNo); }
public bool AssignOrderToSupplier(Order ord) { OrderHandler myHandler = new OrderHandler(); return myHandler.AssignSupplierToOrder(ord); }