Leaders from coastal communities across the country paid a visit to Allerdale to learn about living and working in the area.