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