@if (Request.IsAuthenticated)
{
-
@Html.ActionLink("Hello " + User.Identity.Name + "!", "Index", "UserProfile", routeValues: null, htmlAttributes: null)
-
@Html.ActionLink("Sign out", "SignOut", "Account")
}
else
{
- @Html.ActionLink("Sign in", "SignIn", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })
}