private async void SaveContainerButton_Click(object sender, RoutedEventArgs e) { var selectedContainer = (CloudBlobContainer)ContainerDropBox.SelectedItem; if (selectedContainer == null) { await ShowDialogToUser("You have not selected a container."); return; } var folderPicker = new FolderPicker { SuggestedStartLocation = PickerLocationId.Desktop }; folderPicker.FileTypeFilter.Add("*"); var selectedFolder = await folderPicker.PickSingleFolderAsync(); if (selectedFolder == null) { return; } var localStorage = new LocalStorageService(); InfoMessageText.Text = "Working ..."; await localStorage.SaveContainerInSelectedFolder(selectedFolder, _storageClient, selectedContainer); await ShowMessageToUser($"Container have been saved in :\"{selectedFolder.Path}\""); }