Skip to content
Snippets Groups Projects
Commit 069a40ed authored by evilimkova's avatar evilimkova
Browse files

Making delete read only

parent 9277c1ad
No related branches found
No related tags found
4 merge requests!31M2,!29M2 exercise,!27Draft: M2 user,!19M2 certificate
......@@ -54,7 +54,7 @@ public class CertificateFacade {
return certificateMapper.mapToPageDto(certificateService.findAll(pageable));
}
@Transactional
@Transactional(readOnly = true)
public void deleteCertificate(Long certificateId) {
certificateService.delete(certificateId);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment