public void ShowDeckSaveMenu() { Deck deckToSave = CurrentDeck; bool overwrite = SavedDeck != null && deckToSave.Name.Equals(SavedDeck.Name); DeckSaver.Show(deckToSave, UpdateDeckName, OnSaveDeck, overwrite); }
public void ShowDeckSaveMenu() { var deckToSave = CurrentDeck; var shouldOverwrite = SavedDeck != null && deckToSave.Name.Equals(SavedDeck.Name); DeckSaver.Show(deckToSave, UpdateDeckName, OnSaveDeck, shouldOverwrite); }