What do you want to save?
Add Code snippet
New code examples
-
Html 2022-01-30 13:17:10
asp.net mvc go to page
<!-- Bootstrap navigation --> <ul class="nav navbar-nav navbar-right"> <li class="nav-item">@Html.ActionLink("Login", "Login", "Credential", null, new { @class = "nav-link" ... Add solution -
Other 2021-10-04 18:22:02
hiding links from certain roles
@Html.ActionLink("Index", "Home") @Html.ActionLink("About", "Home") @Html.ActionLink("Contact", "Home") @if ( User.Identity.IsAuthenticated ){ if ( User.IsInRole("Admin") ){ ... Add solution