import express from "express";
import { createWarehouse, getAllWarehouses } from "../controllers/warehouseController.js";
import protect from "../middlware/auth.js";

const router = express.Router();

router.post("/",protect, createWarehouse);
router.get("/", protect,getAllWarehouses);

export default router;
