Mineplex2018-withcommit/Website/LOC.Website.Web/Views/Shared/_LogOnPartial.cshtml

8 lines
220 B
Plaintext
Raw Normal View History

2013-08-27 17:14:08 +02:00
@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") ]
}