Commit b9504c21 authored by Kim, Subin's avatar Kim, Subin
Browse files

영화관람표 관련 router 처리

parent 54b0a783
import express from "express";
import cinemaCtrl from "../controllers/cinema.controller.js";
import ticketfeeCtrl from "../controllers/ticketfee.controller.js";
const router = express.Router();
router
.route("/")
.route("/cinema")
.get(cinemaCtrl.getAll)
.put(cinemaCtrl.edit)
router
.route("/ticketfee/:theaterType")
.get(ticketfeeCtrl.getOne)
router
.route("/ticketfee")
.get(ticketfeeCtrl.getAll)
.put(ticketfeeCtrl.edit)
.delete(ticketfeeCtrl.remove)
export default router;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment