8 lines
222 B
Plaintext
8 lines
222 B
Plaintext
@if(Request.IsAuthenticated) {
|
|
<text>Welcome <strong>@User.Identity.Name</strong>!
|
|
[ @Html.ActionLink("Log Off", "LogOff", "Account") ]</text>
|
|
}
|
|
else {
|
|
@:[ @Html.ActionLink("Log On", "LogOn", "Account") ]
|
|
}
|