Beispiel #1
0
        public void LoadTest()
        {
            List <OrderItem> orderItem = OrderItemManager.Load();

            int expected = 1;
            int actual   = orderItem.Count;

            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
 // GET: api/OrderItem
 public IEnumerable <OrderItem> Get()
 {
     return(OrderItemManager.Load());
 }