hi all
when user is authenticate/register it will shows _LayoutAuthentication.cshtml page.
But I have some specific rights to admin so how can I didffernce between endusers & admin.
my _viewstart.html code as below
@using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
Layout = "~/views/shared/_LayoutAuthentication.cshtml";
}
else
{
Layout = "~/Views/shared/_Layout.cshtml";
}