import{a as l}from"./chunk-C2ZF4U5U.js";import{i as s}from"./chunk-JLM6CY35.js";import{fa as a,ka as p}from"./chunk-4HRPSKID.js";import{a as i}from"./chunk-B7YGBANW.js";var u=(()=>{let e=class e{constructor(t){this._http=t}getRoles(t){return this._http.post("/api/role/all",t,{headers:l})}createRole(t){return this._http.post("/api/role",i({},t))}getRoleById(t){return this._http.get(`/api/role/${t}`)}updateRoleById(t,o){return this._http.put(`/api/role/${o}`,i({},t))}removeRoleById(t){return this._http.delete(`/api/role/${t}`)}};e.\u0275fac=function(o){return new(o||e)(p(s))},e.\u0275prov=a({token:e,factory:e.\u0275fac});let r=e;return r})();export{u as a};
//# sourceMappingURL=chunk-L3XQLHM5.js.map
