private void ImportFile(string command) { string fileName = command.Substring(12, command.Length - 12); List <Transaction> newPayments = ReadFiles.ImportFile(fileName); string answer = UserInteraction.UserInput("Would you like to import all valid data? Y/N"); if (answer == "Y") { Bank.MakeAllPayments(newPayments); Console.WriteLine("Data Imported."); } }
public static void Main(string[] args) { StartLogging(); UserInteraction.Start(); }