public Ingreso AddIngreso(Ingreso ingreso) { context.Ingresos.Add(ingreso); context.SaveChanges(); return(ingreso); }
public Fuente AddFuente(Fuente fuente) { context.Fuentes.Add(fuente); context.SaveChanges(); return(fuente); }
public Gasto AddGasto(Gasto gasto) { context.Gastos.Add(gasto); context.SaveChanges(); return(gasto); }
public Servicio AddServicio(Servicio servicio) { context.Servicios.Add(servicio); context.SaveChanges(); return(servicio); }