Example #1
0
        public IHttpActionResult ArtistRatings(int takeAmount)
        {
            var artistRatings = _ratingService.ArtistRatings(takeAmount);

            var viewModel = _mapper.Map <ArtistRatingsViewModel>(artistRatings);

            return(Ok(viewModel));
        }