private void button1_Click(object sender, EventArgs e)
        {
            TrackList trackList = new TrackList()
            {
                Name = trackListNameTextBox.Text
            };

            trackList.Save();
        }
 private void button1_Click(object sender, EventArgs e)
 {
     if (selectedDataGridViewItem != null)
         {
             if (selectedDataGridViewItem.Count > 0)
             {
                 TrackList trackList = new TrackList()
                 {
                     ID = int.Parse(selectedDataGridViewItem[0]),
                     Name = trackListNameTextBox.Text
                 };
                 trackList.Save();
             }
         }
         else
         {
             TrackList trackList = new TrackList()
             {
                 Name = trackListNameTextBox.Text
             };
             trackList.Save();
         }
     
 }