1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using System;
- using System.Collections.Generic;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Components;
- using Microsoft.AspNetCore.Components.Authorization;
- using Microsoft.AspNetCore.Identity;
- using HyperCube.Pages;
- using Console = HyperCube.Utils.AdvConsole;
- namespace HyperCube.Shared
- {
- public partial class Sidebar : ComponentBase
- {
- [Inject]
- NavigationManager navigationManager { get; set; }
- ModalAssets modalAssets { get; set; }
- ModalInfo modalError404 { get; set; }
- ModalLoading modalLoading { get; set; }
- protected override async Task OnInitializedAsync()
- {
- }
- void AssetsClick()
- {
- modalAssets.Open();
- }
- void ExitClick()
- {
- navigationManager.NavigateTo("Identity/Account/Logout", true);
- }
- void ErrorClick()
- {
- modalError404.Open();
- }
- }
- }
|