private static void Main(string[] args) { (new Program()).ApplicationStart(); // Play(); // MagicThread(); // MagicTask(); MagicAsync().GetAwaiter().GetResult(); Console.WriteLine(" end of code "); Log.Warning("end of main method"); FileSystemConnector f = new FileSystemConnector(); f.WriteXml(data, _path) }
public void Save() { var fs = new FileSystemConnector(); fs.WriteXml(_mediaLibrary); }