public void AddSongToPlaylist(Playlist selectedPlaylist, Song song) { QueryManager.PlaylistAddSong(selectedPlaylist, song); SongList.Add(song); }
public void RemoveSongFromPlaylist(Playlist playlist, Song song) { QueryManager.PlaylistRemoveSong(playlist, song); SongList.Remove(song); }
public void CreatePlaylist(Playlist playlist) { playlist.PlaylistId = QueryManager.CreatePlaylist(ref playlist); PlaylistList.Add(playlist); }
public void DeletePlaylist(Playlist playlist) { QueryManager.DeletePlaylist(playlist); PlaylistList.Remove(playlist); }
public void SelectPlaylist(Playlist playlist) { PopulateSongList(playlist); }