Ejemplo n.º 1
0
        private int LoadProductDirections(DateTimeOffset lastUpdate)
        {
            SetProductDirectionLabel();
            ProductDirections productDirections = webService.GetProductDirections(lastUpdate);

            loadService.DownLoadProductDirections(productDirections);
            webService.ConfirmUpdateProductDirections(productDirections.Items.Select(x => x.Id));
            return(productDirections.Items.Count());
        }