Exemplo n.º 1
0
        public IActionResult Create(Transaction_Rq rq)
        {
            CreateTransactionService contractService = new CreateTransactionService(_dbContext);
            Transaction_Rs           rs = contractService.Execute(rq);

            return(Ok(rs.ResponseCode));
        }
Exemplo n.º 2
0
        public TransactionResponse create(Transaction transaction)
        {
            var createTransactionService = new CreateTransactionService(store, transaction);

            return(createTransactionService.Execute());
        }