public Ingreso UpdateIngreso(Ingreso ingreso) { context.Entry(ingreso).State = EntityState.Modified; context.SaveChanges(); return(ingreso); }
public Fuente UpdateFuente(Fuente fuente) { context.Entry(fuente).State = System.Data.Entity.EntityState.Modified; context.SaveChanges(); return(fuente); }
public Gasto UpdateGasto(Gasto gasto) { context.Entry(gasto).State = EntityState.Modified; context.SaveChanges(); return(gasto); }
public Servicio UpdateServicio(Servicio servicio) { context.Entry(servicio).State = System.Data.Entity.EntityState.Modified; context.SaveChanges(); return(servicio); }
public void Update(TEntity entity) { _context.Entry(entity).State = EntityState.Modified; }