Example #1
0
        // make query of all playlists in playlist and update the dataGrid in the window
        public void showCurrentPlaylist(List <string> friendEmails)
        {
            DataBaseHandler dbHandler = DataBaseHandler.Instance;
            ObservableCollection <Playlist> playlistList = dbHandler.GetFriendsPlaylist(friendEmails);

            dataGrid1.ItemsSource = playlistList;
        }