1 Answer

0 votes
by

All public methods of a controller class are treated as the action method if you want to prevent this default method then you have to assign the 

public method with NonActionAttribute.

Related questions

+1 vote
asked Aug 18, 2019 in MVC Language by sheetalkhandelwal
+1 vote
asked Aug 18, 2019 in MVC Language by sheetalkhandelwal
...