public List <Order> GetAllOrders()
        {
            List <Order> result  = new List <Order>();
            DataTable    rawData = Orderctx.GetAllOrders();

            foreach (DataRow dr in rawData.Rows)
            {
                result.Add(DataRowToOrder(dr));
            }
            return(result);
        }
Beispiel #2
0
 public List <OrderDto> GetAllOrders()
 {
     return(_orderContext.GetAllOrders());
 }
Beispiel #3
0
 public List <Order> GetAllOrders()
 {
     return(context.GetAllOrders());
 }