????

Your IP : 3.144.235.50


Current Path : C:/inetpub/vhost/yte.nextform.vn/wwwroot/assets/
Upload File :
Current File : C:/inetpub/vhost/yte.nextform.vn/wwwroot/assets/CanBo.service-NQtpcWFT.js

var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});import{al as useService,dj as CanBo}from"./index-D7FR_S6u.js";function useCanBo(){const allow=useService(CanBo,"allow"),auth=useService(CanBo,"auth");return{getAllCanBo:__name(param=>allow.get({url:""},param),"getAllCanBo"),postCanBo:__name(data=>auth.post({url:"",body:data}),"postCanBo"),getCanBoById:__name((id,param)=>allow.get({url:`(${id})`},param),"getCanBoById"),updateCanBo:__name((id,data)=>auth.path({url:`(${id})`,body:data}),"updateCanBo"),deleteCanBo:__name(id=>auth.path({url:`(${id})`,body:{trangThai:"Off"}}),"deleteCanBo")}}__name(useCanBo,"useCanBo");export{useCanBo as u};