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

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

            default: return(Messages.ResponseNotFound().ToJson());
            }
        }