Exemplo n.º 1
0
        // 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;
        }
Exemplo n.º 2
0
 public List<BankEntryDTO> parse(BankLog bankLog) {
     BankParser bankParser = identifyBank(bankLog.BankLogString);      
     return bankParser.parse(bankLog.BankLogString);
 }