예제 #1
0
        private int LoadBrands(DateTimeOffset lastUpdate)
        {
            SetBrandsLabel();
            Brands brands = webService.GetBrands(lastUpdate);

            loadService.DownLoadBrands(brands);
            webService.ConfirmUpdateBrands(brands.Items.Select(x => x.Id));
            return(brands.Items.Count());
        }