Beispiel #1
0
        public ActionResult CreateReview(Reviews review)
        {
            string message = "";

            if (HomeService.AddReview(review, out message))
            {
                return(RedirectToAction("Index"));
            }
            else
            {
                return(RedirectToAction("CreateReview", new { review = review, message = message }));
            }
        }