public OutputViewModel PrepareAuthorityModel(Authority authority, List <PageLinkModel> localities, int count) { if (authority == null) { throw new ArgumentNullException("authority"); } if (localities == null) { throw new ArgumentNullException("localities"); } var next = authority.ExtractNextLink(); // dpc - cheshire-west-and-chester-ua.html should contain links to localities, such as: duddon-in-cheshire-west-and-chester-ua.html var model = OutputViewModel.CreateAuthorityOutputViewModel( authority, count, localities, next, "Haunted pubs in {0}" ); return(model); }