public void CreateReview(IReview _review)
        {
            var review = new ReviewModel
            {
                ReviewId = _review.ReviewId,
                Review   = _review.Review,
                Rating   = _review.Rating,
                MovieId  = _review.MovieId,
                UserId   = _review.UserId
            };

            reviewContext.CreateReview(review);
        }
 public void CreateReview(IReview review)
 {
     _context.CreateReview(review);
 }
Beispiel #3
0
 public int CreateReview(Review R)
 {
     return(Context.CreateReview(R));
 }