コード例 #1
0
        public HttpResponseMessage GetNumberSupportedCampaign(HttpRequestMessage request, int campaignId)
        {
            int number = _studentApi.GetNumberOfCampaignSupporters(campaignId);

            var response = request.CreateResponse(HttpStatusCode.OK, number);

            return(response);
        }