What is the significance of NonActionAttribute?
Ask by Anonymous User
Updated 15 Sep 2020
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.