我在访问正确的链接时遇到问题。当我试图转到模板文件夹中的索引视图时,它会转到管理文件夹中的索引视图,我不明白为什么当代码说它应该在这个特定文件夹中查找这个视图时:
<fieldset>
<legend>SiteConfig</legend>
<p>Create new or edit Customers, Projects etc:
@Html.ActionLink("Create", "Add", "Admin", string.Empty) |
@Html.ActionLink("Edit", "AddEdit", "Admin", string.Empty)
</p>
<p>Create new or edit Users:
@Html.ActionLink("Create", "Add", "Admin", string.Empty) |
@Html.ActionLink("Edit", "AddEdit", "Admin", string.Empty)
</p>
<p>Upload or change Logo:
@Html.ActionLink("Upload", "Add", "Admin", string.Empty) |
@Html.ActionLink("Change", "AddEdit", "Admin", string.Empty)
</p>
<p>Upload or change Template:
@Html.ActionLink("Upload", "Index", "Template", string.Empty) |
@Html.ActionLink("Change", "AddEdit", "Admin", string.Empty)
</p>
</fieldset>