public void GetAllReviewsFromMovieId()
        {
            var result = sut.GetAll(1);

            Assert.IsNotNull(result);
            MockConnection.CloseConnection();
        }
예제 #2
0
 public IEnumerable <IReview> GetAllReviews(int movieId)
 {
     return(reviewContext.GetAll(movieId));
 }
예제 #3
0
 public IEnumerable <IReview> GetAll(int movieId)
 {
     return(_context.GetAll(movieId));
 }
 public async Task <List <Review> > Index()
 {
     return(await reviewContext.GetAll());
 }