import { Router } from 'express';
import { getCategories,createCategory,updateCategory,deleteCategory } from '../../controllers/admin/category.controller';


const router = Router();

// ... other routes ...

// Category Routes
router.get('/',  getCategories);
router.post('/',  createCategory);
router.put('/:id',  updateCategory);
router.delete('/:id',  deleteCategory);

export default router;