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.