public void Delete(int idViolation) { Violation violation = getItem(idViolation); list.Remove(violation); violation.Delete(); }