private DeleteOptions?PromptDeleteOptions() { try { var wnd = new DeleteOptionsWindow(); var action = wnd.ShowDialog(); if (action.HasValue && action.Value) { return(wnd.Option); } } catch (Exception ex) { this.view.DisplayError(ex); } return(null); }
private DeleteOptions? PromptDeleteOptions() { try { var wnd = new DeleteOptionsWindow(); var action = wnd.ShowDialog(); if (action.HasValue && action.Value) { return wnd.Option; } } catch (Exception ex) { this.view.DisplayError(ex); } return null; }