Action method must be public. It cannot be private or protected Action method cannot be a static method. The following illustrates the Index () action method in the StudentController class. As you can see in the above figure, the Index () method is public, and it returns the ActionResult using the View () method.