personal_website/routes/api/cashTransactionRouter.js
2023-09-25 20:27:40 +02:00

11 lines
300 B
JavaScript

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