public IActionResult AddFilm(FilmModel filmModel)
        {
            if (ModelState.IsValid && _autoModeration.PassAutoModeration(filmModel.Description))
            {
                _db.AddFilm(filmModel);

                return(RedirectToAction("Index", "Home"));
            }

            return(View(filmModel));
        }
        public IActionResult Review(ReviewModel reviewModel)
        {
            reviewModel.UserLogin = User.Identity.Name;

            if (!_autoModeration.PassAutoModeration(reviewModel.ReviewText))
            {
                return(RedirectToAction("ShowFilm", "Home", new { filmId = reviewModel.FilmId }));
            }

            var review = _db.AddReview(reviewModel);

            return(RedirectToAction("ShowFilm", "Home", new { filmId = review.Film.FilmId }));
        }