????
Current Path : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/admin/assets/ |
Current File : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/admin/assets/Event.service-r6jVK7Qu.js |
var __defProp=Object.defineProperty;var __name=(target,value)=>__defProp(target,"name",{value,configurable:!0});import{O as useService,a9 as Event}from"./index-xxTpRcwO.js";function useEvent(){const allow=useService(Event,"");return{getAllEvent:__name(param=>allow.get({url:""},param),"getAllEvent"),postEvent:__name(data=>allow.post({url:"",body:data}),"postEvent"),getEventById:__name((id,param)=>allow.get({url:`(${id})`},param),"getEventById"),updateEvent:__name((id,data)=>allow.path({url:`(${id})`,body:data}),"updateEvent"),deleteEvent:__name(id=>allow.deleteMethod({url:`(${id})`}),"deleteEvent")}}__name(useEvent,"useEvent");export{useEvent as u};