In this article we learn that it is possible to make a controller protected.
No, we cannot make a controller protected.Let's try to make a controller protected.Output:When we make the controller private, protected or protected internal, it is giving a compiler error, but when we make the controller internal let's see what happens.Let's run the application and see the output.Let's make the controller public and run the application.Happy Coding.
ASP.NET MVC 5: A Beginner’s Guide