CRUD módulo anomaly

This commit is contained in:
2026-06-26 20:13:34 +00:00
parent eeb563825a
commit 8482ee608d
9 changed files with 542 additions and 15 deletions

View File

@ -1,11 +1,10 @@
import lpgModel from "./lpg.model";
import { ILpg } from "./lpg.interface";
import { idText } from "typescript";
export class LPGService{
//Crear solicitud gas LPG
//Crear solicitud gas LPG
async create (
data:ILpg
){
@ -16,7 +15,7 @@ export class LPGService{
const lpg = new lpgModel(data);
return await lpg.save();
}
}
//Obtener todas las requisiciones
async getAll() {