//Update public void Update(OntimeDelay ontimeDelay) { db.Entry(ontimeDelay).State = EntityState.Modified; Save(); }
//Insert public void Insert(OntimeDelay ontimeDelay) { db.OntimeDelays.Add(ontimeDelay); Save(); }