public string History() { SetSite(initSiteSettings: true); switch (ReferenceType) { case "Sites": return(SiteUtilities.History(siteModel: Site)); case "Issues": return(IssueUtilities.History( ss: Site.SiteSettings, issueId: ReferenceId)); case "Results": return(ResultUtilities.History( ss: Site.SiteSettings, resultId: ReferenceId)); case "Wikis": return(WikiUtilities.History( ss: Site.SiteSettings, wikiId: ReferenceId)); default: return(Messages.ResponseNotFound().ToJson()); } }