コード例 #1
0
        public HttpResponseMessage GetCampaignAccount(HttpRequestMessage request, int campaignId)
        {
            var account = _studentApi.GetCampaignAccount(campaignId);

            var accountVm = new AccountViewModel(account);

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

            return(response);
        }