import express from 'express';
import { addWareHouse, getAllWarehouses } from '../controllers/warehouseController.js';
import { verifyToken } from '../middleware/authMiddleware.js';

const router = express.Router();

router.post('/insertWarehouse', verifyToken, addWareHouse);
router.get('/', verifyToken, getAllWarehouses);

export default router;