Esempio n. 1
0
        public HttpResponseMessage GetUpVotes(HttpRequestMessage request, int campaignId)
        {
            var count = _studentApi.GetUpVotes(campaignId);

            var response = request.CreateResponse(HttpStatusCode.OK, new { upVotes = count });

            return(response);
        }