Beispiel #1
0
        // GET: Rating
        public ActionResult AddRating(string userId, int value)
        {
            var fromUserId = User.Identity.GetUserId();

            ratingService.AddRating(userId, value, fromUserId);
            return(RedirectToAction("Index", "Home"));
        }