const baseURL = '/api/security-management'

export class AppService{
    create(data) {
        return axios({
            baseURL:baseURL,
            url:"/applications",
            method:"post",
            data:data
        })
    }
    show(id) {
        return axios({
            baseURL:baseURL,
            url:"/applications/"+id,
            method:"get"
        })
    }

    update(id,data) {
        return axios({
            baseURL:baseURL,
            url:"/applications/"+id,
            method:"patch",
            data:data
        })
    }
}