Closed NikitaErmakSenla closed 3 years ago
https://github.com/VyacheslavRadyuk/sf-senla-courses/blob/2c8abbad38ee23c5936dd8445aabf1c929daecda/lecture_2.6/TouristRestService.cls#L46
getTouristsValidationTrue - bad naming. E.g. - handleValidationError
If Age wasn't filled - it's not validation error. This logic i ssupposed to be in getTourists() method
done
https://github.com/VyacheslavRadyuk/sf-senla-courses/blob/2c8abbad38ee23c5936dd8445aabf1c929daecda/lecture_2.6/TouristRestService.cls#L46