private void generateNewListOfPositions(
     CustomerBO customer,
     List<PositionEntity> customerPositions,
     List<CustomerPositionDto> customerPositionDtos) {
   for (PositionEntity position : customerPositions) {
     CustomerPositionDto customerPosition =
         new CustomerPositionDto(customer.getCustomerId(), position.getId(), position.getName());
     customerPositionDtos.add(customerPosition);
   }
 }