public void StateModified(object Entity) { _Context.Entry(Entity).State = System.Data.Entity.EntityState.Modified; }