public bool EditCar(tblCar car) { context.Entry(car).State = EntityState.Modified; return(context.SaveChanges() > 0); }