????

Your IP : 18.219.58.157


Current Path : C:/inetpub/vhost/donthu.gdtsolutions.vn/api/wwwroot/assets/
Upload File :
Current File : C:/inetpub/vhost/donthu.gdtsolutions.vn/api/wwwroot/assets/CanBo.service-DHc7YIGh.js

var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});import{an as useService,df as CanBo}from"./index-D8rI6KyB.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};