14 lines
282 B
Plaintext
14 lines
282 B
Plaintext
@using Microsoft.AspNetCore.Identity
|
|
@inject SignInManager<IdentityUser> SignInManager
|
|
@{
|
|
ViewData["Title"] = "Home Page";
|
|
}
|
|
|
|
@if (SignInManager.IsSignedIn(User))
|
|
{
|
|
<partial name="_homeLogInPartial" model="@Model" />
|
|
}
|
|
else
|
|
{
|
|
<partial name="_homeNoLogInPartial" />
|
|
} |