Пример #1
0
        public void SelectAllOrders()
        {
            Bus.Orders orders = new Bus.Orders();

            SortedDictionary <System.Guid, GenesisBusiness.Order> dict = orders.SelectAll();

            if (dict == null || dict.Count == 0)
            {
                Assert.Fail("No Orders returned");
            }
        }
Пример #2
0
        public object GetData()
        {
            StartProgressTimer();

            var busOrders = new Business.Orders();

            busOrders.SelectAll();

            var grdOrders = new Grids.Orders(busOrders);

            return(grdOrders.Dictionary.Values);
        }