public IEnumerable <Product> GetProducts()
 {
     return(_service.GetAllProducts());
 }
예제 #2
0
        public void ListProducts()
        {
            var products = _service.GetAllProducts();

            Assert.IsTrue(products.Count > 0);
        }