class CustomGoalServiceImpl implements CustomGoalService {

    @Transactional
    @Override
    public List<CustomGoalResponseDto> findAll() {
        return customGoalRepo.findAll().stream()
            .map(customGoal -> modelMapper.map(customGoal, CustomGoalResponseDto.class))
            .collect(Collectors.toList());
    }

}