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