Ejemplo n.º 1
0
        public string OpenExportSelectorDialog()
        {
            SetSite();
            switch (Site.ReferenceType)
            {
            case "Issues": return(IssueUtilities.OpenExportSelectorDialog(
                                      Site.IssuesSiteSettings(ReferenceId, setSiteIntegration: true),
                                      siteModel: Site));

            case "Results": return(ResultUtilities.OpenExportSelectorDialog(
                                       Site.ResultsSiteSettings(ReferenceId, setSiteIntegration: true),
                                       siteModel: Site));

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