import { Router } from "express";
import authorize from "../middlewares/authorization.middleware";
import discounts from "../controllers/discount.controller";

const router = Router();

router.post("/add", authorize, discounts.Add);
router.post("/edit", authorize, discounts.Edit);
router.post("/remove", authorize, discounts.Remove);

export default router;
