static CategoryProductPriceCollection GetProductsForCustomerId(int customerId)
        {
            CategoryProductPriceCollection cpp       = null;
            IProductCatalogService         pcService = ProductCatalogService;

            cpp = pcService.GetProductsForCustomerId(customerId);
            return(cpp);
        }
        public void getproductCustomerByCustId(int id)
        {
            CategoryProductPriceCollection products = GetProductsForCustomerId(id);

            if (products != null && products.Items.Count > 0)
            {
                foreach (CategoryProductPrice pp in products.Items)
                {
                    Console.WriteLine("Found eligible CP: {0}. Price = {1}", pp.CommercialProductName, pp.ListPriceAmount);
                }
            }
            else
            {
                Console.WriteLine("No eligible products for this customer ID.");
            }
            Console.ReadLine();
        }