Пример #1
0
        public string Calendar()
        {
            SetSite();
            ViewModes.Set(Site.SiteId);
            switch (Site.ReferenceType)
            {
            case "Issues": return(IssueUtilities.Calendar(
                                      ss: Site.IssuesSiteSettings(ReferenceId, setAllChoices: true)));

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

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