Beispiel #1
0
        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());
            }
        }
Beispiel #2
0
        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));
            }
        }