import express from "express";
import * as ctrl from "../controllers/jobs.controller.js";

const router = express.Router();

router.get("/", ctrl.list);
router.get("/:id", ctrl.getById);
router.post("/", ctrl.create);
router.put("/:id", ctrl.update);
router.delete("/:id", ctrl.remove);

export default router;


