public IActionResult Edit(ReviewCreateEditViewModel reviewViewModel)
        {
            var review = _mapper.Map <Review>(reviewViewModel);

            _reviewRepository.Update(review);
            return(RedirectToAction(nameof(Index)));
        }
        public IActionResult Add()
        {
            var reviewViewModel = new ReviewCreateEditViewModel
            {
                MincePies = _mapper.Map <IEnumerable <MincePieDetailsViewModel> >(_mincePieRepository.GetEntities())
            };

            return(View(reviewViewModel));
        }