public string GetPublishedStatusUrl() { //if (service is PublishedCache.PublishedNoCache.PublishedSnapshotService) // return "views/dashboard/developer/nocache.html"; if (_publishedSnapshotService is PublishedCache.NuCache.PublishedSnapshotService) { return("views/dashboard/settings/nucache.html"); } throw new NotSupportedException("Not supported: " + _publishedSnapshotService.GetType().FullName); }