I’ve been researching about this. I found “MVCs areas” but I still couldn’t do what I’m looking for.
MY VIEWS:
Views/
Student/Course
Student/Information
Student/Status
Student/GeneralSituation
etc, etc…
CONTROLLERS:
Controllers/Student
What I want to do is:
I don’t want to have All the code from a lot of views in just one “Student” controller.
Any tip regarding how I can “split” my controllers in several files?
I’m just looking at the simplest approach, I don’t want to make big modifications to my project.
I’m using MVC4.
Thanks in advance!..
PnP
you can do a partial class StudentController:
your folder/files would look like this:
The code would be:
StudentController.Status.cs:
StudentController.GeneralSituation.cs: