Ejemplo n.º 1
0
        public BrandInfo GetBrandInfo(long id)
        {
            BrandInfo brandInfo;

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

            return(brandInfo);
        }