Beispiel #1
0
        public HttpResponseMessage GetTopTenSponsors(HttpRequestMessage request)
        {
            var sponsors = _studentApi.GetTopTenSponsors();

            var sponsorVm = SponsorViewModel.MultipleSponsorsMap(sponsors);

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

            return(response);
        }