// Gets an order with customer and orderlines public Order GetOrder(int id) { Order o = orderDB.Get(id); o.Customer = customerDB.Get("customerID", o.Customer.ID.ToString()); o.Orderlines = orderLineDB.GetOrderlinesByOrderID(o.ID); return(o); }
public static Order Order_Get(int orderID) { return(OrderDB.Get(orderID)); }
public static List <OrderDetails> GetOrder(int orderID) { return(OrderDB.Get(orderID)); }
public static Order GetOrder(int orderID) { return(OrderDB.Get(orderID)); }
public static Order GetOrder(int id) { return(OrderDB.Get(id)); }