最佳答案
我一直在寻找从另一个控制器重定向到 Index
视图的方法。
public ActionResult Index()
{
ApplicationController viewModel = new ApplicationController();
return RedirectToAction("Index", viewModel);
}
我现在就是这么做的。现在我给的代码有一个 ActionLink
,链接到我需要的网页 Redirect
了。
@Html.ActionLink("Bally Applications","../Application")