示例#1
0
        public string Move()
        {
            SetSite();
            switch (ReferenceType)
            {
            case "Issues": return(IssueUtilities.Move(
                                      ss: Site.IssuesSiteSettings(ReferenceId),
                                      issueId: ReferenceId));

            case "Results": return(ResultUtilities.Move(
                                       ss: Site.ResultsSiteSettings(ReferenceId),
                                       resultId: ReferenceId));

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