Exemple #1
0
        static void Main(string[] args)
        {
            ProductManager _productManager = new ProductManager(new DesignTwo());

            _productManager.GetAll();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            ProductManager productManager = new ProductManager(new Factory2());

            productManager.GetAll();
        }