public void Create_pending_csvs(string path) { try { var pending_csv_file_creator = new PendingCsvFileCreator(path); pending_csv_file_creator.Create_and_populate_all_csvs(); } catch (Exception e) { _input_output.Output_line(e.Message); } }
public void Create_pending_csvs() { try { ISpreadsheetRepoFactory spreadsheet_factory = new FakeSpreadsheetRepoFactory(); var path = new PathSetter(_input_output, spreadsheet_factory).Set_path(); var pending_csv_file_creator = new PendingCsvFileCreator(path); pending_csv_file_creator.Create_and_populate_all_csvs(); } catch (Exception e) { _input_output.Output_line(e.Message); } }