This commit is contained in:
2025-03-31 00:22:21 +03:00
commit 38f2a05107
146 changed files with 66771 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
const express = require('express');
const router = express.Router({ mergeParams: true });
const HistoryEntranceController = require('../controllers/history.entrance.controller');
const authenticate = require("../middleware/auth");
router
.route('/')
.get(authenticate, HistoryEntranceController.getHistoryEntrance)
.post(authenticate, HistoryEntranceController.createHistoryEntrance)
.put(authenticate, HistoryEntranceController.updateHistoryEntrance)
.delete(authenticate, HistoryEntranceController.deleteHistoryEntrance);
module.exports = router;