Exemplo n.º 1
0
 static void Main(string[] args)
 {
     ProductHandler productHandler = new ProductHandler();
     var allProducts = productHandler.GetAll();
     foreach (var productDomain in allProducts)
     {
         Display(productDomain);
     }
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            ProductHandler productHandler = new ProductHandler();
            var            allProducts    = productHandler.GetAll();

            foreach (var productDomain in allProducts)
            {
                Display(productDomain);
            }
        }