There are many functions in the background
for example:
1. Article management
2. Video management
3. Download management
4. Advanced settings
5. User management
etc
Use a controller?
AdminController
still
1、ArticleController
2. VideoController
3. DownController
4. AdvController
5. UserController
某草草2017-05-16 17:08:20
Prefer using multiple controllers instead of covering everything with one AdminController.
If you want to distinguish the background management part, you can consider designing a URL like this: /Admin/Articel/List. The routing rules that need to be matched here are:
routes.MapRoute(
name: "AdminModule",
url: "Admin/{controller}/{action}",
defaults: new { controller = "Article", action = "List" }
);