Refactor transaction_controller#create method using the use_case pattern