So why isn't this working out for me? I have a actionlink which should take a model instance back into the controller.
Questions view
@foreach (var question in Model.Select(item => item as Question))
{
..
@Html.ActionLink(@question.Title, "SingleQuestion", "Posts", question, null)
..
}
Controller
public ActionResult SingleQuestion(Question question)
{
return View();
}
But when use this solution: Is there any way to pass a whole model via html.actionlink in ASP.NET MVC 3?
It does, Is this because a model instance can be to complex?
Thanks