Exemplo n.º 1
0
 public List <MovieRating> GetMoviesByReviewer(int reviewer)
 {
     if (reviewer < 1)
     {
         throw new ArgumentException("The reviewer cannot be a negative number");
     }
     return(movieRatingRepository.GetMoviesByReviewer(reviewer).ToList());
 }