Esempio n. 1
0
        public string TimeSeries()
        {
            SetSite();
            ViewModes.Set(Site.SiteId);
            switch (Site.ReferenceType)
            {
            case "Issues": return(IssueUtilities.TimeSeries(
                                      ss: Site.IssuesSiteSettings(ReferenceId, setAllChoices: true)));

            case "Results": return(ResultUtilities.TimeSeries(
                                       ss: Site.ResultsSiteSettings(ReferenceId, setAllChoices: true)));

            default: return(HtmlTemplates.Error(Error.Types.NotFound));
            }
        }