public ActionResult Details(UserRatingModel model) { using (var ctx = new Entities()) { ctx.SubmitRating(model.Id, Authentication.GetLoggedUser().UserID, model.Approved, model.Comments); Success("Obrigado por avaliar este tópico!"); return RedirectToRoute("Cells", new { @action = "Index" }); } }