@{
    bool isAuthenticated = true;
}

@if (isAuthenticated)
{
<nav class="navbar navbar-default" role="navigation">

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">

            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Справочники <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li>@Html.ActionLink("Процессоры", "Index", "Processor")</li>
                    <li>@Html.ActionLink("Компьютеры", "Index", "Computer")</li>
                </ul>
            </li>
        </ul>
</div>
</nav>
}
