pass model data to one controller to another controller is possible?
I want to passe the model data to one controller ro another controller.
[HttpPost]
public ActionResult Personal(StudentModel student)
{
return RedirectToAction("nextStep", new { model = student});
}
public ActionResult nextStep(StudentModel model)
{
return View(model);
}
in nextStep
controller model value is null.
How to do it?
I need to StudentModel data in nextStep conreoller.