Example #1
0
        public override void Execute()
        {
            List <Product> allProducts = barcodeSystem.Products;

            barcodeCli.DisplayProductLineup(allProducts);

            base.Execute();
        }
Example #2
0
        public override void Execute()
        {
            List <Product> activeProducts = barcodeSystem.Products.Where(product => product.Active).ToList();

            barcodeCli.DisplayProductLineup(activeProducts);

            base.Execute();
        }