
const { getAllAgreements, addAgreements, editAgreement, deleteAgreement, getAgreementByid } = require("../controllers/signAgreement");

const signAgreementRoutes = [
    {
        method : "POST",
        url : "/webservice/agreement/get-all-agreements",
        handler : getAllAgreements
    },
    {
        method : "POST",
        url : "/webservice/agreement/get-agreements-id",
        handler : getAgreementByid
    },
    {
        method : "POST",
        url : "/webservice/agreement/add",
        handler : addAgreements
    },
    {
        method : "POST",
        url : "/webservice/agreement/edit",
        handler : editAgreement
    },
    {
        method : "POST",
        url : "/webservice/agreement/delete",
        handler : deleteAgreement
    },
]
module.exports=signAgreementRoutes;