@Override public void replace(Deficiency deficiency) { replaceDto(deficiency); deficiencyPictureDao.replace(deficiency.getPictures()); }