The dual role of cultural heritage as attractor of tourism and local economic resourse