610
99.9
24 days ago
Zhang:
I would add similar functionality in the BaseController, a controller that you derive from System.Web.MVC.Controller.
Then, each of your controllers would derive from BaseController, rather than Controller.
Hope this helps.
Dan