const { addContactTags, getAllContactTags, getTagByID, deleteTag, updateTagsByID } = require("../controllers/contact_tag");


const ContactTagsRoute=[
    {
        method: 'POST',
        url: '/webservice/contact-tag/create',
        handler: addContactTags
    },
    {
        method: 'POST',
        url: '/webservice/contact-tag/get-all-data',
        handler: getAllContactTags
    },
    {
        method: 'POST',
        url: '/webservice/contact-tag/get-data-by-id',
        handler: getTagByID
    },
    {
        method: 'POST',
        url: '/webservice/contact-tag/delete',
        handler: deleteTag
    },
    {
        method: 'POST',
        url: '/webservice/contact-tag/update',
        handler: updateTagsByID
    },
]

module.exports=ContactTagsRoute