private void RemoveAnime(AnimeModel animeToRemove) { // Removes the selection from the SQLite database SQLiteDataAccess.DeleteAnime(animeToRemove); // Removes the selection from the bindable collection Animes.Remove(animeToRemove); NotifyOfPropertyChange(() => TotalAnimes); }
private void DeleteAnime() { Animes.Remove(EditedAnime); EditedAnime = null; }