我有几个 HTML 文件,我想将它们包含在我的 MVC 项目中。我想得到如下结果:
www.Test.com/Products/
www.Test.com/Products/Drinking/
www.Test.com/Products/Drinking/Product1
www.Test.com/Products/Drinking/Product2
www.Test.com/Products/Drinking/Product3
www.Test.com/Products/Cleaning/
www.Test.com/Products/Cleaning/Product1
www.Test.com/Products/Cleaning/Product2
www.Test.com/Products/Cleaning/Product3
www.Test.com/Products/SkinCare/
www.Test.com/Products/SkinCare/Product1
www.Test.com/Products/SkinCare/Product2
www.Test.com/Products/SkinCare/Product3
创建控制器的最佳方法是什么以及如何将我的文件放在嵌套视图中?或任何其他解决方案?