personal_website/routes/api/cashTransactionRouter.ts
2024-07-16 15:02:41 +02:00

11 lines
298 B
TypeScript

import express from "express";
const router = express.Router();
import cashTransaction from '../../controllers/cashTransactionController.js';
router.post('/list', cashTransaction.list);
router.post('/', cashTransaction.create);
router.delete('/', cashTransaction.delete);
export default router;