예제 #1
0
 public List<CountryDto> getAll() {
   return countryRepository
       .findAll()
       .stream()
       .map(countryAssembler.convertCountryToDto())
       .collect(Collectors.toList());
 }