In general, all public methods of a controller class are treated as action methods. If you want prevent this default behavior, just decorate the public method with NonActionAttribute.
Liked By
Write Answer
What is the significance of NonActionAttribute?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
19-May-2012In general, all public methods of a controller class are treated as action methods. If you want prevent this default behavior, just decorate the public method with NonActionAttribute.