Beispiel #1
0
        public ResponseFile Export()
        {
            SetSite();
            switch (Site.ReferenceType)
            {
            case "Issues": return(IssueUtilities.Export(
                                      Site.IssuesSiteSettings(ReferenceId), siteModel: Site));

            case "Results": return(ResultUtilities.Export(
                                       Site.ResultsSiteSettings(ReferenceId), siteModel: Site));

            default: return(null);
            }
        }