Hello Friends,
How to catch exception in razor view cshtml page in mvc
Please help below is sample code i need to pass exception part to server side.
@if (Session["AdminIsLoginIn"].ToString().ToLower() == "true")
{
<li><a href="/AdminProfile/Index">Admin</a></li>
}