Enrico-git / WA2-EGLR

Laboratories and project of Web Application 2
0 stars 0 forks source link

Add constraints in Body endpoints #22

Closed Enrico-git closed 3 years ago

Enrico-git commented 3 years ago

(validation not works)

Enrico-git commented 3 years ago

use method isValid() inside the DTO. Service will call it and throw exception if something goes wrong