public void UpdateAsync(Canasta entity) { //_dbContext.canasta.Update(entity); _dbContext.Entry(entity).State = EntityState.Modified; _dbContext.SaveChanges(); }
public void UpdateAsync(Orden entity) { _dbContext.Entry(entity).State = EntityState.Modified; _dbContext.SaveChanges(); }