view Agendas/trunk/src/Agendas.Web/Views/Shared/_LogOnPartial.cshtml @ 55:39f5258ebdcf

Agregando referencias con NuGet
author nelopauselli
date Mon, 16 May 2011 20:10:45 -0300
parents c62b77fc33f4
children db4b1e2cae49
line wrap: on
line source

@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") ]
}