class CustomGoalServiceImpl implements CustomGoalService {

    @Transactional
    @Override
    public List<CustomGoalResponseDto> updateBulk(BulkCustomGoalDto bulkCustomGoalDto) {
        List<CustomGoalResponseDto> updatable = bulkCustomGoalDto.getCustomGoals();
        List<CustomGoalResponseDto> returned = new ArrayList<>();
        for (CustomGoalResponseDto el : updatable) {
            returned.add(update(el));
        }
        return returned;
    }

}