Source

main-vinayFork / Source / WebService / Web.Admin / Views / Shared / _LogOnPartial.cshtml

1
2
3
4
5
6
7
@if(Request.IsAuthenticated) {
    <text>Welcome <strong>@User.Identity.Name</strong>!
    [ @Html.ActionLink("Log Off", "LogOff", "Account") ]</text>
}
else {
    @:[ @Html.ActionLink("Log On", "LogOn", "Account") ]
}