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

12 lines
296 B
TypeScript

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