private void CommandDeleteDeckExecute(EditDeck editDeck)
 {
     if (deckService.CanDelete(editDeck.Deck))
     {
         deckService.DeleteDeck(editDeck.Deck);
     }
     trackerFactory.GetFileManager().SaveDatabase();
     ApplyFilter();
 }
Example #2
0
 private void CommandDeleteDeckExecute(object param)
 {
     if (deckService.CanDelete(SelectedDeck))
     {
         deckService.DeleteDeck(SelectedDeck);
     }
     trackerFactory.GetFileManager().SaveDatabase();
     ApplyFilter();
 }