public void AddPlaylist(Model.Playlist newPlaylist)
        {
            if (Playlists.Any(cus => cus.Name == newPlaylist.Name) == false)
            {
                XML.PlaylistXML playlistXML = new XML.PlaylistXML();

                playlistXML.Load("playlists.xml");
                if (!playlistXML.HasPlaylist(newPlaylist.Name))
                {
                    playlistXML.AddPlaylist(newPlaylist.Name);
                    playlistXML.WriteInFile("playlists.xml");
                    Playlists.Add(newPlaylist);
                }
            }
        }
        public void RemovePlaylist(Model.Playlist selectedPlaylist)
        {
            if (Playlists.Any(cus => cus.Name == selectedPlaylist.Name) == true)
            {
                XML.PlaylistXML playlistXML = new XML.PlaylistXML();

                playlistXML.Load("playlists.xml");
                if (playlistXML.HasPlaylist(selectedPlaylist.Name))
                {
                    playlistXML.RemovePlaylist(selectedPlaylist.Name);
                    playlistXML.WriteInFile("playlists.xml");
                    Playlists.Remove(selectedPlaylist);
                }
            }
        }
        public void RemovePlaylist(Model.Playlist selectedPlaylist)
        {
            if (Playlists.Any(cus => cus.Name == selectedPlaylist.Name) == true)
            {
                XML.PlaylistXML playlistXML = new XML.PlaylistXML();

                playlistXML.Load("playlists.xml");
                if (playlistXML.HasPlaylist(selectedPlaylist.Name))
                {
                    playlistXML.RemovePlaylist(selectedPlaylist.Name);
                    playlistXML.WriteInFile("playlists.xml");
                    Playlists.Remove(selectedPlaylist);
                }
            }
        }
        public void AddPlaylist(Model.Playlist newPlaylist)
        {
            if (Playlists.Any(cus => cus.Name == newPlaylist.Name) == false)
            {
                XML.PlaylistXML playlistXML = new XML.PlaylistXML();

                playlistXML.Load("playlists.xml");
                if (!playlistXML.HasPlaylist(newPlaylist.Name))
                {
                    playlistXML.AddPlaylist(newPlaylist.Name);
                    playlistXML.WriteInFile("playlists.xml");
                    Playlists.Add(newPlaylist);
                }
            }
        }