mirror of
https://github.com/rudollee/LearningMVC.git
synced 2026-08-11 16:32:55 +00:00
Ch. 16 Routing Adv (until 16-5)
This commit is contained in:
@@ -12,5 +12,11 @@
|
||||
<body>
|
||||
<div>The controller is: @ViewBag.Controller</div>
|
||||
<div>The action is: @ViewBag.Action</div>
|
||||
<div>
|
||||
@Html.ActionLink("This is an outgoing URL", "CustomVariable")
|
||||
</div>
|
||||
<div>
|
||||
@Html.ActionLink("This targets another controller", "Index", "Customer")
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user