public void EditUserIsActive(int id, bool newIsActive) { try { using (var db = new connectionsLinqDataContext()) { db.EditUserIsActive(id, newIsActive); } } catch (Exception) { return; } }