views:

119

answers:

1
+3  A: 

Easiest thing to do would be to collapse Admin/Season into AdminSeason and have an AdminSeasonController.cs.

Then update your routing table so the /Admin/Season routes to AdminSeasonController.

This is untested, but it could look like this in your Global.ascx (above the out-of-box MVC route):

routes.MapRoute(
            "AdminSeason",
            "Admin/Season",
            new { controller = "AdminSeason", action = "Index" }
           );

Here are some other questions re: MVC Routing:

spoon16
pls give the code for writing in global.ascx file
Avinash