Reputation: 7844
I want to log the calls to the action methods which is a better way, shall i use the actionfilterattribute or override the controller.
Upvotes: 0
Views: 66
Reputation: 1039508
Action filter seems better and more reusable approach. You won't need to override each controller in which you wanted to log calls.
Upvotes: 2