public string BurnDownJson() { SetSite(initSiteSettings: true, setSiteIntegration: true); ViewModes.Set(Site.SiteId); switch (Site.ReferenceType) { case "Issues": return(IssueUtilities.BurnDownJson(ss: Site.SiteSettings)); default: return(Messages.ResponseNotFound().ToJson()); } }
public string BurnDownJson() { SetSite(initSiteSettings: true); ViewModes.Set(Site.SiteId); switch (Site.ReferenceType) { case "Issues": return(IssueUtilities.BurnDownJson(ss: Site.SiteSettings)); default: return(HtmlTemplates.Error(Error.Types.NotFound)); } }