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