public ActionResult Create([Bind(Include = "Id,Value,GameId,UserId")] Rate rate) { if (ModelState.IsValid) { _rateService.CreateRate(rate, User.Identity.Name); return(RedirectToAction("Details", "Game", new { Id = rate.GameId })); } ViewBag.GameId = new SelectList(_gameService.GetAcceptedGames(), "Id", "Name", rate.GameId); return(View(rate)); }