import express from "express";
import { createService, getService, updateService, deleteService } from "../controllers/serviceController.js";
 import protect from "../middleware/auth.js";
const router = express.Router();
 
router.post("/",protect,  createService);
router.get("/",protect,  getService);
router.put("/:id",protect,  updateService);
router.delete("/:id", protect, deleteService);
 
export default router;