public void Delete(int id) { DispositionDatabase dbDisposition = new DispositionDatabase(); dbDisposition.DeleteDefectById(id); }