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