var otherController = DependencyResolver.Current.GetService<另一个控制器的类名>(); var result = otherController.另一个动作方法(); return result;
转载于:https://www.cnblogs.com/lijinzhu7929/p/9407861.html
var otherController = DependencyResolver.Current.GetService<另一个控制器的类名>(); var result = otherController.另一个动作方法(); return result;
转载于:https://www.cnblogs.com/lijinzhu7929/p/9407861.html