public IActionResult Create(Transaction_Rq rq) { CreateTransactionService contractService = new CreateTransactionService(_dbContext); Transaction_Rs rs = contractService.Execute(rq); return(Ok(rs.ResponseCode)); }
public TransactionResponse create(Transaction transaction) { var createTransactionService = new CreateTransactionService(store, transaction); return(createTransactionService.Execute()); }