diff --git a/src/app/services/producto.service.ts b/src/app/services/producto.service.ts index b1f4fa2..4d75c9c 100644 --- a/src/app/services/producto.service.ts +++ b/src/app/services/producto.service.ts @@ -69,10 +69,14 @@ export class ProductoService { return this.http.get(url); } - updateImages(body): Observable { + saveInBase(body): Observable { return this.http.post(`${appSettings.apiUrl}/imagenes/guardar`, body); } + deleteImage(body) : Observable{ + return this.http.post(`${appSettings.apiUrl}/imagen/borrar`, body); + } + getCategorias() { return this.http.get(`${appSettings.apiUrl}/categorias`); }