Beispiel #1
0
 public void deleteSong(Song oldSong)
 {
     //var oldSong = this.songsList[index];
     this.songsList.RemoveAt(findSongIndexInList(oldSong));
     DeleteSongEvent?.Invoke(oldSong);
 }
Beispiel #2
0
 public void DeleteSong(Song song)
 {
     songs.Remove(song);
     DeleteSongEvent?.Invoke(song);
 }