Beispiel #1
0
        public IEnumerable <Movie> SelectTopFiveMoviesByUser(int id)
        {
            var ratings = _movieRatingRepository.GetRatingsByUserId(id);

            return(SortTopMovies(ratings).Take(5));
        }