import express from "express";
import { paymentCreate,getPayment,updatePayment,deletePayment } from "../controllers/PaymentController.js";

const router = express.Router();
router.post("/", paymentCreate);
router.get("/", getPayment);
router.put("/:id", updatePayment);
router.delete("/:id", deletePayment);

export default router;