import{j as s}from"./chunk-GQAU5ACB.js";import{la as r,pa as n}from"./chunk-ISMRT7VU.js";var o=(()=>{class e{constructor(t){this._http=t}getAll(){return this._http.get("/api/news/all")}create(t){return this._http.post("/api/news",t)}update(t,i){return this._http.put(`/api/news/${t}`,i)}delete(t){return this._http.delete(`/api/news/${t}`)}static{this.\u0275fac=function(i){return new(i||e)(n(s))}}static{this.\u0275prov=r({token:e,factory:e.\u0275fac})}}return e})();export{o as a};
//# sourceMappingURL=chunk-FM4RZC7C.js.map
