// POST: api/BankLog
        public List<BankEntryDTO> Post(BankLog bankLog)
        {
            List<BankEntryDTO> bankEntriesDTO = parser.parse(bankLog);
            List<BankEntryDTO> verifiedBankEntriesDTO = Validator.Validator.Validate(bankEntriesDTO, DBService.getDB());

            return verifiedBankEntriesDTO;
        }
Example #2
0
 public List<BankEntryDTO> parse(BankLog bankLog) {
     BankParser bankParser = identifyBank(bankLog.BankLogString);      
     return bankParser.parse(bankLog.BankLogString);
 }