@page "/user/admin" @using Microsoft.AspNetCore.Authorization @using TIAM.Models.Dtos.Users @using TIAMSharedUI.Shared @using TIAMWebApp.Shared.Application.Interfaces; @using TIAMSharedUI.Shared.Components.BaseComponents @inherits UserBasePageComponent @layout AdminLayout @inject IPopulationStructureDataProvider DataProvider @inject ISupplierService SupplierService @inject IUserDataService UserDataService Administration

Control panel

Have a nice day!

Welcome @myUser.UserDto.EmailAddress

Good to see you here :)

Call to action
Overview

Your transfers and such

Upcoming transfers

You have 0 upcoming transfers

Companies

You have 0 companies

Hotels

You have 0 hotels

Some conclusion

@code { bool isUserLoggedIn; int userType = 0; private UserModelDtoDetail? myUser; protected override async Task OnInitializedAsync() { if(_sessionService.User != null) { myUser = _sessionService.User.UserModelDto; } await base.OnInitializedAsync(); } }