/// <summary> /// Retrieve the playlist /// </summary> private void RetrievePlayList() { //Get new list of playlist var playlists = database.GetPlayLists(); playlistList.ItemsSource = new ObservableCollection <PlayListModel>(playlists); }
/// <summary> /// Initiliase Playlists /// </summary> void InitPlayLists() { database = new PlayListRepository(); var playlists = database.GetPlayLists(); playlistList.ItemsSource = new ObservableCollection <PlayListModel>(playlists); }