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