public override void Execute() { List <Product> allProducts = barcodeSystem.Products; barcodeCli.DisplayProductLineup(allProducts); base.Execute(); }
public override void Execute() { List <Product> activeProducts = barcodeSystem.Products.Where(product => product.Active).ToList(); barcodeCli.DisplayProductLineup(activeProducts); base.Execute(); }