private static void Import() { Console.WriteLine("Import"); Console.WriteLine(DateTime.Now); var database = Config.Default; var dataPath = ConfigurationManager.AppSettings["dataPath"]; var importLog = new ImportLog(); var consoleImportLog = new ConsoleImportLog(importLog); // Integration.Import(database, dataPath, consoleImportLog); //Console.Clear(); //Console.WriteLine(importLog.ToString()); File.WriteAllText(@"..\..\..\import.log", importLog.ToString()); }