示例#1
0
        public HttpResponseMessage GetContestScoreCriteria(int id)
        {
            if (ContestService.Exists(id))
            {
                return(Request.CreateResponse(HttpStatusCode.OK, ScoreCriterionService.GetContestScoreCriteria(id).ConvertToDto()));
            }

            return(Request.CreateResponse(HttpStatusCode.NotFound));
        }