Exemplo n.º 1
0
 private static IEnumerable <ProductCategory> GetProductCategories()
 {
     return(MockFactory.GetProductCategories(true));
 }
Exemplo n.º 2
0
        public static OrderLine GetExistingOrderLine(int Id)
        {
            var products = MockFactory.GetProducts(true, MockFactory.GetProductCategories(true));

            return(CreateOrderLine(products, Id, Constants.PRODUCT_ID_FOUND, 1, 1));
        }
Exemplo n.º 3
0
        private static IEnumerable <Product> GetProducts()
        {
            var productCategories = MockFactory.GetProductCategories(true);

            return(MockFactory.GetProducts(true, productCategories));
        }