public int Commit() { try { return(db.SaveChanges()); } catch (DbUpdateConcurrencyException) { throw; } }