public string New() { SetSite(siteOnly: true, initSiteSettings: true); switch (Site.ReferenceType) { case "Sites": return(SiteUtilities.EditorNew(Site.SiteSettings)); case "Issues": return(IssueUtilities.EditorNew(Site.SiteSettings)); case "Results": return(ResultUtilities.EditorNew(Site.SiteSettings)); case "Wikis": return(WikiUtilities.EditorNew(Site.SiteSettings)); default: return(HtmlTemplates.Error(Error.Types.NotFound)); } }