Пример #1
0
        private void LoadOrders()
        {
            PendingOrders.DataContext = null;

            OrderingServices orderSvc = new OrderingServices(true);
            PendingOrders.DataContext = orderSvc.GetAll();
        }
Пример #2
0
 /// <summary>
 /// Gets all orders.
 /// </summary>
 /// <returns>A list of orders.</returns>
 public IList<Order> GetAllOrders()
 {
     OrderingServices orderingSvc = new OrderingServices();
     return orderingSvc.GetAll();
 }