Esempio n. 1
0
        public void SaveToDatabase()
        {
            string configPath = Properties.Settings.Default.TrackDBPath;

            DataControl.SaveData <PlaylistCollection>(configPath, this, false, true);
        }
Esempio n. 2
0
        public static PlaylistCollection GetDatabase()
        {
            string configPath = Properties.Settings.Default.TrackDBPath;

            return(DataControl.ReadFromJson <PlaylistCollection>(configPath, true));
        }