public Contracts.Types.Supplier GetSupplierInfo()
        {
            List<Product> products = new List<Product>();
            ProductFamily hardware = new ProductFamily { Name = "Hardware" };
            ProductFamily software = new ProductFamily { Name = "Software" };

            Product primavera = new Product { Family = software, Name = "Primavera" };
            Product artsoft = new Product { Family = software, Name = "Artsoft" };

            Product radeon = new Product { Family = hardware, Name = "ATI Radeon HD" };
            Product nvidia = new Product { Family = hardware, Name = "nVidia GeForce" };

            Product raspberryPi = new Product { Family = hardware, Name = "Raspberry Pi" };

            products.Add(primavera);
            products.Add(artsoft);
            products.Add(radeon);
            products.Add(nvidia);
            products.Add(raspberryPi);

            return new Supplier
            {
                EndPoint = "http://localhost:25262/ProductosService.svc/Central",
                Name = "Supplier 1",
                Products = products
            };
        }
        public Supplier GetSupplierInfo()
        {
            List<Product> products = new List<Product>();
            ProductFamily hardware = new ProductFamily { Name = "Hardware" };
            ProductFamily software = new ProductFamily { Name = "Software" };

            Product primavera = new Product { Family = software, Name = "Primavera" };
            Product artsoft = new Product { Family = software, Name = "Artsoft" };

            Product radeon = new Product { Family = hardware, Name = "ATI Radeon HD" };
            Product nvidia = new Product { Family = hardware, Name = "nVidia GeForce" };

            Product raspberryPi = new Product { Family = hardware, Name = "Raspberry Pi" };

            products.Add(primavera);
            products.Add(artsoft);
            products.Add(radeon);
            products.Add(nvidia);
            products.Add(raspberryPi);

            return new Supplier
                       {
                           EndPoint = OperationContext.Current.Channel.LocalAddress.ToString(),
                           Name = "Supplier 1",
                           Products = products
                       };
        }