首页
IT
登录
6mi
u
盘
搜
搜 索
IT
Asp.net mvc 动作方法中 调用 另一个控制器的动作方法
Asp.net mvc 动作方法中 调用 另一个控制器的动作方法
xiaoxiao
2025-06-18
5
public
ActionResult 动作方法() {
var
otherController = DependencyResolver.Current.GetService<另一个控制器的类名>();
var
result = otherController.另一个动作方法();
return
result; }
转载请注明原文地址: https://ju.6miu.com/read-1300077.html
最新回复
(
0
)