text: const empController = require('../controllers/empController');
  
  module.exports = function (app) {
  
      app.route("/api/employee")
      .post(empController.create)
      .get(empController.findAll);
  
      app.route("/api/employee/search")
      .get(empController.search);
  
      app.route("/api/employee/:id")
      .get(empController.findById)
      .put(empController.update)
      .delete(empController.delete);
  
      app.route("/api/")
  }
  
  