自动生成菜单,相应控制其方法加上DisplayName、Description特性

This commit is contained in:
xxred
2018-11-07 17:15:42 +08:00
parent 787a76798f
commit 2ab7ecc9b0
23 changed files with 557 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
@{
ViewData["Title"] = "Contact";
}
<h2>@ViewData["Title"]</h2>
<h3>@ViewData["Message"]</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.com</a><br />
<strong>Marketing:</strong> <a href="mailto:Marketing@example.com">Marketing@example.com</a>
</address>