public Brands GetBrands(DateTimeOffset lastUpdate) { Brands brands; using (PricelistServiceClient webService = GetWebService()) { SecurityInfo securityInfo = CreateSecurityInfo(); brands = webService.GetBrands(securityInfo, lastUpdate); webService.Close(); } return(brands); }