한 컨트롤러에서 다른 컨트롤러로 모델 데이터를 전달할 수 있습니까?한 컨트롤러에서 다른 컨트롤러로 모델 데이터를 전달하는 방법
다른 컨트롤러의 한 컨트롤러에 모델 데이터를 보내고 싶습니다. nextStep
컨트롤러 모델 값
[HttpPost]
public ActionResult Personal(StudentModel student)
{
return RedirectToAction("nextStep", new { model = student});
}
public ActionResult nextStep(StudentModel model)
{
return View(model);
}
널이다. 어떻게 수행하나요? nextStep conreoller에서 StudentModel 데이터가 필요합니다.
[가능한 다른 컨트롤러 작업 방법간에 데이터 전달] (http://stackoverflow.com/questions/15385442/passing-data-between-different-controller-action-methods) –