Full Visualization Page API completed
This commit is contained in:
@@ -2,5 +2,11 @@ import * as express from "express";
|
||||
import { templateService } from "../controller/visualization/templateService.ts";
|
||||
const router = express.Router();
|
||||
router.post("/template/save", templateService.AddTemplate);
|
||||
router.get("/templateData/:organization", templateService.GetTemplate);
|
||||
router.get("/templateData/:organization", templateService.GetAllTemplates);
|
||||
router.post("/TemplatetoZone", templateService.AddToZone);
|
||||
router.patch(
|
||||
"/TemplateDelete/:templateID/:organization",
|
||||
templateService.Deletezone
|
||||
); //delete zone
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user