if this gets run after the FirstMethod or SecondMethod });控制器操作执行一些操作,然后重定向到下一个方法public ActionResult FirstMethod() //Some code run here
return RedirectToAction我的问题是- Ajax success()方法什么时候运行?它是在
您好,由于某些原因,我可以在一个Action方法中向列表中添加项,但是每当我将列表传递给另一个方法中的视图时,该列表就会显示为空。为什么会这样?有人能解释一下吗?当之前在另一个方法中添加了某些内容时,为什么列表是空的?{ // List COUNT is ONE here
return RedirectToAction("Index", preOrders);