[HttpGet]
public ActionResult BookingStep1()
{
return View(new BookingMainApplicantInfo());
}
[HttpPost]
public ActionResult BookingStep1(BookingMainApplicantInfo mainApplicant)
{
return View(mainApplicant);
}
[HttpGet]
public ActionResult BookingStep12()
{
//how to fetch data from above step 2 to here
return View();
}
方案是将会员数据发送到下一步,即下一个操作结果,我将计算发票并提供付款选项。
我应该使用会话还是应该将其保存到数据库?