public IList <Transaction> ReadTransactions(string folderPath) { _csvTransactionMetaloader = new TransactionFileMetadataLoader(folderPath); TransactionCSVParser parser = new TransactionCSVParser(_csvTransactionMetaloader); _csvTransactions = parser.ParseTransactions().ToList(); return(_csvTransactions); }
public TransactionCSVParser(ITransactionMetadataLoader sourcemetadataloader) { _sourcemetadataloader = sourcemetadataloader; }