personal_website/routes/api/cashTransactionRouter.js
2023-10-04 22:45:02 +02:00

11 lines
305 B
JavaScript

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;