private void NavigateToBrowseFolders(ICloudItem cloudItem)
 {
     _navigationService.UriFor<BrowseCloudFilesViewModel>()
                       .WithParam(vm => vm.CloudProvider, CloudProvider)
                       .WithParam(vm => vm.NavigationUrl, cloudItem.ID)
                       .WithParam(vm => vm.DatabaseName, DatabaseName)
                       .Navigate();
 }
 private async Task AttemptDownload(ICloudItem cloudItem)
 {
     ProgressIsVisible = true;
     
     using (var downloadStream = await _cloudProvider.DownloadItem(cloudItem.ID))
     { 
         if (downloadStream != null)
         {
             if (_cache.DownloadFileNavigationCache.DownloadType == DownloadType.Database)
                 await _databaseInfoRepository
                     .SaveDatabaseFromDatasouce(
                     cloudItem.Name,
                     CloudProvider.ToString(),
                     cloudItem.ID,
                     downloadStream);
             else if (_cache.DownloadFileNavigationCache.DownloadType == DownloadType.KeyFile)
                 await _databaseInfoRepository
                     .SaveKeyFileFromDatasouce(
                     _cache.DownloadFileNavigationCache.DatabaseName, 
                     cloudItem.Name,
                     downloadStream);
         }
     }
     ProgressIsVisible = false;
     Type returnNavigation = Type.GetType(_cache.DownloadFileNavigationCache.ReturnUrl);
     _navigationService.Navigate(GetUri(returnNavigation));
 }