Can we call the Method of a controller from another controller in asp.net MVC?
来源:互联网 发布:paxos算法 活锁 编辑:程序博客网 时间:2024/06/05 10:00
http://stackoverflow.com/questions/2910948/can-we-call-the-method-of-a-controller-from-another-controller-in-asp-net-mvc
public class ThisController { public ActionResult Index() { var other = new OtherController(); other.OtherMethod(); //OR OtherController.OtherStaticMethod(); }}
0 0
- Can we call the Method of a controller from another controller in asp.net MVC?
- Display a view from another controller in ASP.NET MVC
- Spring MVC How take the parameter value of a GET HTTP Request in my controller method?
- ASP.NET MVC 3 (Accessing your Model's Data from a Controller) (5/9)
- asp.net MVC Controller 小记
- Asp.net MVC Controller学习
- mock Request on Controller in ASP.Net MVC ?
- ASP.NET MVC 3 (Adding a Controller) (2/9)
- 2 method http call in controller in AngularJS
- Programming ASP.NET MVC-Fundamentals of ASP.NET MVC(五)Controller
- ASP.NET MVC Controller 中访问 Application
- asp.net mvc 之 Controller 和 Action
- ASP.NET MVC Controller激活系统详解
- ASP.NET MVC 4 Controller与Action
- asp.net mvc controller 依赖注入入门
- ASP.NET MVC Controller异步机制
- 返璞归真 asp.net mvc (3) - Controller/Action
- ASP.NET MVC Unity Controller Factory
- android ndk调用OpenGL 实现纹理贴图Texture
- Erlang 17.0在Linux系统中的安装
- 老农的计算机学习笔记(二)硬件篇
- How to make two <div>…</div> in the same row?
- Sending E-mail using C#
- Can we call the Method of a controller from another controller in asp.net MVC?
- Lambda Expression of Select * from TableName
- Subsets
- Can I have fixed typed ArrayList in C#, just like C++?
- Can a DateTime be null?
- HOW? Controller return nothing/current view
- OSX: 10.10 Yosemite Developer Preview 2安装的一个注意事项
- 树和二叉树
- 增加mysql的最大连接数