Ejemplo n.º 1
0
        public Catalogs GetCatalogs(DateTimeOffset lastUpdate)
        {
            Catalogs catalogs;

            using (PricelistServiceClient webService = GetWebService())
            {
                SecurityInfo securityInfo = CreateSecurityInfo();
                catalogs = webService.GetCatalogs(securityInfo, lastUpdate);
                webService.Close();
            }

            return(catalogs);
        }