public ActionResult Create(int id, ReviewEditViewModel reviewEditViewModel)
        {
            try
            {
                var review = ToEntity(
                    id,
                    reviewEditViewModel
                );

                this
                    ._reviewRepository
                    .SaveReview(review);

                return this
                    .RedirectToAction(
                        "Details",
                        "Recipe",
                        new
                        {
                            id = id,
                            area = ""
                        });
            }
            catch
            {
                return View(reviewEditViewModel);
            }
        }
 private ReviewEntity ToEntity(int recipeId, ReviewEditViewModel viewModel)
 {
     return new ReviewEntity
     {
         RecipeId = recipeId,
         Comment = viewModel.Comment,
         Rating = viewModel.Rating,
         Reviewer = this._userProfileEntityFactory.Create()
     };
 }