private void MigrateKatavasia() { fileReader.FolderPath = Path.Combine(FOLDER_PATH, @"Books\Katavasia"); IKatavasiaService service = new KatavasiaService(_unitOfWork); IKatavasiaFactory factory = new KatavasiaFactory(); IMigrationManager manager = new KatavasiaMigrationManager(factory, fileReader, service); manager.Import(); }
private void MigrateKatavasia() { string folder = Path.Combine(Properties.Settings.Default.FolderPath, @"Books\Katavasia"); IFileReader reader = new FileReader(folder); IKatavasiaService service = new KatavasiaService(_unitOfWork); IKatavasiaFactory factory = new KatavasiaFactory(); IMigrationManager manager = new KatavasiaMigrationManager(factory, reader, service); manager.Migrate(); }