feat: added get level & sublevels by bay, level & sublevel id apis

This commit is contained in:
Sathishkumar Krishnan
2022-02-09 19:28:04 +05:30
parent 12d675f14d
commit 224299238b
6 changed files with 75 additions and 0 deletions

View File

@@ -12,6 +12,11 @@ router.get("/all", controller.getAllLevel);
*/
router.get("/:id", controller.getLevelByID);
/**
* @route /level/:id/sublevels
*/
router.get("/:id/sublevels", controller.getLevelSublevelsByID);
/**
* @route /level/
*/