var express = require('express'); var router = express.Router(); const cashTransaction = require('../../controllers/cashTransactionController.js') router.post('/list', cashTransaction.list); router.post('/', cashTransaction.create); router.delete('/', cashTransaction.delete); module.exports = router;