public void Delete(int idRepair) { Repair repair = getItem(idRepair); list.Remove(repair); repair.Delete(); }