Answer Posted / Preeti Arya
The NonAction attribute in MVC Model View Controller is used to indicate that a method in your controller should not be treated as an action method. It helps to reduce unnecessary calls and improves application performance by preventing unintended actions. For example, you might have methods in your controller for data validation or other tasks that do not correspond to a specific view but still require execution.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers