Пример #1
0
        public void GetAllOrdersShouldReturnAllOrders()
        {
            using (var context = new Entity.p0storeContext(options)){
                OrderDB _orderDB = new OrderDB(context);
                var     orders   = _orderDB.GetAllOrder();
                int     count    = orders.Count;

                Assert.Equal(1, count);
            }
        }
Пример #2
0
 public List <Order> GetAllOrder()
 {
     return(_orderDB.GetAllOrder());
 }