What is the significance of NonActionAttribute?
6726
19-May-2012
Updated on 15-Sep-2020
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.