如何在ASP.NET MVC 1中执行子文件夹.例如,在控制器上采用以下文件夹结构:
/Controller
/Blog
ViewsController.cs
ArticlesController.cs
/Customers
SalesController.cs
ProductsController.cs
HomeController.cs
Run Code Online (Sandbox Code Playgroud)
我想在视图中有以下文件夹结构,每个视图找到你的控制器:
/Views
/Blog
/Views
Index.aspx
Admin.aspx
Show.aspx
/Articles
Show.aspx
Admin.aspx
/Customers
/Sales
Index.aspx
Totals.aspx
/Products
Index.aspx
Promotions.aspx
/Home
Index.aspx
Run Code Online (Sandbox Code Playgroud)