Beispiel #1
0
        // GET: /Reviews/AlteRate/5
        public ActionResult AlterRate(int?id = 0)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            unitOfWork.AlterReviewsRate(id.GetValueOrDefault());
            return(RedirectToAction("Index"));
        }