const person_ctrl = require('../controllers/group_ctrl');

module.exports = [
    {
        url:'/group',
        method: 'get',
        func: person_ctrl.get_all
    },
    {
        url:'/group',
        method: 'post',
        func: person_ctrl.create
    },
    {
        url:'/group/:group_id',
        method: 'get',
        func: person_ctrl.get_by_id
    },
    {
        url:'/group/:group_id',
        method: 'put',
        func: person_ctrl.update_by_id
    },
    {
        url:'/group/:group_id',
        method: 'delete',
        func: person_ctrl.delete_by_id
    }
]