This commit is contained in:
Leifer Mendez
2022-08-12 13:20:19 +02:00
parent abe05e9ad1
commit 97226d78e0
17 changed files with 29 additions and 110 deletions

View File

@@ -0,0 +1,12 @@
import express, { Router } from "express";
import LeadCtrl from "../controller/lead.ctrl";
import container from "../ioc";
const router: Router = Router();
/**
* http://localhost/lead POST
*/
const leadCtrl: LeadCtrl = container.get("lead.ctrl");
router.post("/", leadCtrl.sendCtrl);
export { router };