2023-03-31 23:19:54 +04:00
|
|
|
const Router = require('express')
|
|
|
|
const router = new Router()
|
|
|
|
|
|
|
|
const educationformController = require('../controllers/educationform.controller')
|
2023-05-14 01:50:44 +04:00
|
|
|
//const educationformController = require('../mongo/controllers/educationform.controller')
|
2023-03-31 23:19:54 +04:00
|
|
|
|
|
|
|
router.post('/educationform', educationformController.createEducationForm)
|
|
|
|
router.get('/educationform', educationformController.getEducationForms)
|
|
|
|
router.get('/educationform/:id', educationformController.getOneEducationForm)
|
|
|
|
router.put('/educationform', educationformController.updateEducationForm)
|
|
|
|
router.delete('/educationform/:id', educationformController.deleteEducationForm)
|
|
|
|
|
|
|
|
module.exports = router
|