A simple sample just to show how to toggle visibility of the Navigation-bar in Blazor.
There is a service defined in Service/ViewOptionService.cs to hold the satte of the visibility. The Button itself is defined in Pages/Components/ToggleMenuBotton.razor and used in all razor files unter Pages.
https://stackoverflow.com/questions/69004925/show-or-hide-side-menu-in-blazor