"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const class_1 = require("../controllers/class");
const express_1 = require("express");
const router = (0, express_1.Router)();
router.post("/", class_1.createClass);
router.get("/:id", class_1.getAllClasses);
router.put("/:id", class_1.updateClass);
router.delete("/:id", class_1.deleteClass);
exports.default = router;
