Guides/MVC-Integration/Phase-II-Draft.md
... ...
@@ -40,11 +40,7 @@ Since the link to Izenda will be visible only to logged in users, cut the action
40 40
**d.** Paste the ActionLink in IF block as below so that link to Izenda is visible only after logging in
41 41
42 42
```html
43
-<li>@Html.ActionLink("Home", "Index", "Home")</li>
44
-<li>@Html.ActionLink("About", "About", "Home")</li>
45
-<li>@Html.ActionLink("Contact", "Contact", "Home")</li>
46
- <li>@Html.ActionLink("Izenda", "ReportList", "Reporting")</li> //Cut this line
47
-```
43
+
48 44
@if (Request.IsAuthenticated) {
49 45
50 46
<text>
... ...
@@ -59,6 +55,7 @@ Since the link to Izenda will be visible only to logged in users, cut the action
59 55
</text>
60 56
}
61 57
58
+```
62 59
63 60
### Step 4. Add Login User Model
64 61