11 lines
300 B
JavaScript
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; |