Пример #1
0
        public void AddProducts()
        {
            Console.ForegroundColor = ConsoleColor.Blue;
            Console.WriteLine("---------\nCreating Products:");
            ProductCreator productCreator = new ProductCreator(ConnectionString);

            productCreator.Initialize();

            for (int i = 1; i <= ProductsQt; i++)
            {
                productCreator.CreateProduct();
            }
            Console.ResetColor();
        }