private int LoadCatalogs(DateTimeOffset lastUpdate) { SetCatalogsLabel(); Catalogs catalogs = webService.GetCatalogs(lastUpdate); loadService.DownLoadCatalogs(catalogs); webService.ConfirmUpdateCatalogs(catalogs.Items.Select(x => x.Id)); return(catalogs.Items.Count()); }