public virtual ActionResult Create(AnswerViewModel model) { if (ModelState.IsValid) { var answer = new Answer() { QuestionId = model.QuestionId, OrderNumber = model.OrderNumber, Description = model.Description, Value = model.Value, Points = model.Points }; _answersRepository.Create(answer); return(RedirectToAction(MVC.Admin.Answers.List(model.QuestionId))); } return(View(model)); }