【发布时间】:2018-04-23 23:42:01
【问题描述】:
我对 ASP.MVC 有疑问。我从许多页面调用此操作方法,刷新页面后我需要,但我没有指向用户所在页面的链接。
public ActionResult Hide<T>(T item, User user) where T : IHidable
{
//... Some action
return SomeThingWhatINeedAndRefreshPage();
//Now I use this, but I do not want to redirect user to Home
//return RedirectToAction("Index", "Home");
}
【问题讨论】: