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

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