示例#1
0
        public HttpResponseMessage MakeChallenge([FromBody] ChallengeParameterModel para)
        {
            FightLogic fightLogic = new FightLogic();

            jsonResult = fightLogic.MakeChallenge(para);

            returnResult.Content = new StringContent(jsonResult, Encoding.UTF8, "application/json");
            return(returnResult);
        }