コード例 #1
0
        public IActionResult Create(Transaction_Rq rq)
        {
            CreateTransactionService contractService = new CreateTransactionService(_dbContext);
            Transaction_Rs           rs = contractService.Execute(rq);

            return(Ok(rs.ResponseCode));
        }
コード例 #2
0
        public TransactionResponse create(Transaction transaction)
        {
            var createTransactionService = new CreateTransactionService(store, transaction);

            return(createTransactionService.Execute());
        }