Ejemplo n.º 1
0
 public int GetCountOfMovieReviews(int movie)
 {
     if (movie < 1)
     {
         throw new ArgumentException("The movie cannot be a negative number");
     }
     return(movieRatingRepository.GetCountOfMovieReviews(movie));
 }