private void HandleDeserialize() { var dialog = new FolderBrowserDialog(); try { DialogResult result = dialog.ShowDialog(); if (result == DialogResult.OK) { var rootTreeItem = TreeViewItemModels.First(); var selectedItem = TreeViewItemModel.GetSelectedItem(rootTreeItem); if (selectedItem != null) { var folder = FolderModel.GetFolderModelByGuid(_folder, selectedItem.Guid); _serializeClient.SaveFolder(folder, dialog.SelectedPath); } } } catch (Exception ex) { _logger.Error(ex); } }