asp mvc中action跳到另一个action怎么传递参数

asp mvc中action跳到另一个action怎么传递参数


慕尼黑5688855
浏览 1101回答 2
2回答

炎炎设计

return RedirectToAction("action","controller",RouteValue)比如:return RedirectToAction("action","controller",new MyModel {})return RedirectToAction("action","controller",new {参数1=xx,参数2=xxx})
打开App,查看更多内容
随时随地看视频慕课网APP