我在同一个控制器中创建了两个视图。问题是,我想在httppost完成后加载第二个视图。ASP.NET MVC返回httpPost后的索引视图
索引视图
public ActionResult Index()
{
return View();
}
HttpPost
[HttpPost]
public ActionResult Index(AccountModel model)
{
return View("NEXTVIEW");
}
下一页查看
public ActionResult NEXTVIEW(EpmloyeeModal model)
{
return View();
}
后HttpPost,我有广告ded返回到nextview。而它总是返回到索引视图。我试图在不同的网站上找到这样的场景,但找不到任何地方。
谢谢。
哦,我迟到了;( –