public void Update(Models.Improvement improvement) { db.Entry(improvement).State = EntityState.Modified; }
public void Insert(Models.Improvement improvement) { db.Improvements.Add(improvement); }