public void SaveToDatabase() { string configPath = Properties.Settings.Default.TrackDBPath; DataControl.SaveData <PlaylistCollection>(configPath, this, false, true); }
public static PlaylistCollection GetDatabase() { string configPath = Properties.Settings.Default.TrackDBPath; return(DataControl.ReadFromJson <PlaylistCollection>(configPath, true)); }