Chapter 10
ASP.NET Core on the MVC Framework
Section 3
Rendering Views
So far we have been using plain C# classes as Controllers, but it is far more common have your Controllers inherit from the Controller base class which the MVC framework provides. This allows developers to return complex objects from their Controllers, students in our case. - Modify the StudentController class - Add a new folder to your project called Views - Delete the code that is currently in there and replace it