private void OnApplyAllExecute()
        {
            var packages = PackagesBatch.PackageList.Where(p => _packageCommandService.CanExecute(PackagesBatch.OperationType, p)).ToArray();

            using (_packageOperationContextService.UseOperationContext(PackagesBatch.OperationType, packages))
            {
                foreach (var package in packages)
                {
                    _packageCommandService.Execute(PackagesBatch.OperationType, package);

                    RefreshCanExecute();
                }
            }
        }
        private async Task OnPackageActionExecuteAsync(IPackageDetails package)
        {
            if (Navigator.SelectedRepository == null)
            {
                return;
            }

            var operation = Navigator.SelectedRepository.OperationType;

            await TaskHelper.Run(() => _packageCommandService.Execute(operation, package, Navigator.SelectedRepository, IsPrereleaseAllowed ?? true), true);

            if (_packageCommandService.IsRefreshRequired(operation))
            {
                await CountAndSearchAsync();
            }

            RefreshCanExecute();
        }