у меня есть такой скрипт
```
@* ! Brand demo (display only for navbar-full and hide on below xl) *@
@using Microsoft.AspNetCore.Identity
@inject UserManager<ApplicationUser> UserManager

@if (ViewData["navbarFull"] != null)
{
  <div class="navbar-brand app-brand demo d-none d-xl-flex py-0 me-4">
    <a asp-controller="Home" asp-action="Index" class="app-brand-link">
      <span class="app-brand-logo demo">
        @await Html.PartialAsync("../_Partials/_Macros")
      </span>
      <span class="app-brand-text demo menu-text fw-bold ms-2 text-heading">@TempData.Peek("appName")</span>
    </a>

    @* ! Display menu close icon only for horizontal-menu with navbar-full *@
    @if (Convert.ToBoolean(@TempData.Peek("menuHorizontal")).ToString() == "True")
    {
      <a href="javascript:void(0);" class="layout-menu-toggle menu-link text-large ms-auto d-xl-none">
        <i class="bx bx-chevron-left bx-md align-middle"></i>
      </a>
    }
  </div>
}

@* ! Not required for layout-without-menu *@
@if (ViewData["navbarHideToggle"] == null)
{
  <div class='layout-menu-toggle navbar-nav align-items-xl-center me-3 me-xl-0  @((Convert.ToBoolean(@TempData.Peek("menuHorizontal")).ToString() == "True") ? "" : "d-xl-none") @((@ViewData["contentNavbar"] != null && Convert.ToBoolean(@ViewData["contentNavbar"])) ? "" : "d-xl-none")'>
    <a class="nav-item nav-link px-0 me-xl-4" href="javascript:void(0)">
      <i class="bx bx-menu bx-md"></i>
    </a>
  </div>
}

<div class="navbar-nav-right d-flex align-items-center" id="navbar-collapse">

     <!-- Style Switcher -->
      <div class="navbar-nav align-items-center">
        <div class="nav-item dropdown-style-switcher dropdown">
          <a class="nav-link dropdown-toggle hide-arrow" href="javascript:void(0);" data-bs-toggle="dropdown">
            <i class='bx bx-md'></i>
          </a>
          <ul class="dropdown-menu dropdown-menu-start dropdown-styles">
            <li>
              <a class="dropdown-item" href="javascript:void(0);" data-theme="light">
                <span class="align-middle"><i class='bx bx-sun me-3'></i>Light</span>
              </a>
            </li>
            <li>
              <a class="dropdown-item" href="javascript:void(0);" data-theme="dark">
                <span class="align-middle"><i class="bx bx-moon me-3"></i>Dark</span>
              </a>
            </li>
            <li>
              <a class="dropdown-item" href="javascript:void(0);" data-theme="system">
                <span class="align-middle"><i class="bx bx-desktop me-3"></i>System</span>
              </a>
            </li>
          </ul>
        </div>
      </div>
     <!-- / Style Switcher-->
     <div class="me-3">
        <span id="selected-project-name" class="badge text-bg-warning">Проект не выбран</span>
     </div>

  <ul class="navbar-nav flex-row align-items-center ms-auto">
    <!-- User -->
    <li class="nav-item navbar-dropdown dropdown-user dropdown">
      <a class="nav-link dropdown-toggle hide-arrow p-0" href="javascript:void(0);" data-bs-toggle="dropdown">
        <div class="avatar avatar-online">
          <img src="~/img/avatars/1.png" alt class="w-px-40 h-auto rounded-circle">
        </div>
      </a>
      <ul class="dropdown-menu dropdown-menu-end">
        <li>
          <a class="dropdown-item" href="javascript:void(0);">
            <div class="d-flex">
              <div class="flex-shrink-0 me-3">
                <div class="avatar avatar-online">
                  <img src="~/img/avatars/1.png" alt class="w-px-40 h-auto rounded-circle">
                </div>
              </div>
              @{
                var user = await UserManager.GetUserAsync(User);
                var roles = user != null ? await UserManager.GetRolesAsync(user) : new List<string>();
              }
              <div class="flex-grow-1">
                <h6 class="mb-0">@user?.UserName</h6>
                <small class="text-muted">
                  @if (roles.Any())
                  {
                    @string.Join(", ", roles)
                  }
                  else
                  {
                    @("No Role")
                  }
                </small>
              </div>
            </div>
          </a>
        </li>
        <li>
          <div class="dropdown-divider my-1"></div>
        </li>
        <li>
          <a class="dropdown-item">
            <form asp-controller="Account" asp-action="Logout" method="post" id="logoutForm" class="navbar-right">
              <button type="submit" class="btn btn-link navbar-btn navbar-link">Logout</button>
            </form>
          </a>
        </li>
      </ul>
    </li>
    <!--/ User -->
  </ul>
</div>
@section PageScripts
{
  <script src="~/js/_buildingFlow-project-select.js"></script>
}
```
нужно в представлении добавить кнопку выбора проекта, которая сохранит данные о проекте в хранилище
```
@model BuildingFlow.Services.Models.ViewModels.Project.ProjectIndexViewModel
<div class="col-md-6 col-xxl-4 mb-6  project-card" data-status="@Model.Status">
  <div class="card h-100 shadow-sm">
    <div class="card-body d-flex flex-column justify-content-between">
      <h4 class="card-title strong">@Model.Title</h4>
      <h5 class="card-subtitle mb-2 text-muted"><span class="strong text-dark">Клиент:</span> @Model.CompanyName</h5>
              <div class="text-center row mb-4">
                <img src="img/residental-complex/residential_complex@(Model.Id ).jpg" class="img-fluid w-100 rounded " alt="...">
      </div>
            <div class="">
                <p class="card-text crop-text-2">@Model.Description</p>
        </div>
            <div class="d-flex flex-row justify-content-between pt-5 ">
                    <div class="col-md-6 d-flex flex-column">
                        <p><span class="h6">Менеджер: </span>@Model.ManagerName</p>
                    </div>
                    <div class="col-md-6 d-flex flex-column">
                        <p><span class="h6">Бюджет: </span>@Model.Budget</p>
                    </div>
                </div>
                <div class="d-flex flex-row justify-content-between">
                    <div class="col-md-6 d-flex flex-column">
                        <p><span class="h6">Статус: </span> <span class="badge bg-info text-dark">@Model.Status</span></p>
                    </div>
                    <div class="col-md-6 d-flex flex-column">
                        <p><span class="h6">Сроки: </span>@Model.StartDate.ToShortDateString() - @Model.EndDate.ToShortDateString()</p>
                    </div>
                </div>
                <div class="d-flex flex-row justify-content-between">
                    <div class="col-md-6 d-flex flex-column">
                        <a href="@Url.Action("Details", "Projects", new { id = @Model.Id })" class="col-md-10 mt-auto btn btn-primary">Подробнее</a>
                    </div>
                    <div class="col-md-6 d-flex flex-column">
                        <a href="@Url.Action("Edit", "Projects", new { id = @Model.Id })" class="col-md-10 mt-auto btn btn-secondary ">Редактировать</a>
                    </div>
                </div>
    </div>
  </div>
</div>
```