const express = require("express");
const router = express.Router();
const trainController = require("../controllers/train.controllers");

/* GET programming languages. */
//router.get('/', programmingLanguagesController.get);

/* POST programming language */
//router.post('/', programmingLanguagesController.create);

/* PUT programming language */
//router.put('/:id', programmingLanguagesController.update);

/* DELETE programming language */
//router.delete('/:id', programmingLanguagesController.remove);

router.get("/headcode/today/:id", trainController.getByHeadcodeToday);

module.exports = router;
