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