Apologies if the title is unclear.
I\'m trying to return my model from a form submit in ASP.NET MVC.
My question is nearly the same as this question, only di
From your code in the view, the post should work fine providing your post action looks like this:
[HttpPost]
public ActionResult Action(Model model)
{
return View(model);
}
i.e. passing your model across as the argument.
Also make sure you have your model reference in the view too:
@model YourNameSpace.Model