Ejemplo n.º 1
0
        public CatalogInfo GetCatalogInfo(long id)
        {
            CatalogInfo catalogInfo;

            using (PricelistServiceClient webService = GetWebService())
            {
                SecurityInfo securityInfo = CreateSecurityInfo();
                catalogInfo = webService.GetCatalog(securityInfo, id);
                webService.Close();
            }

            return(catalogInfo);
        }