using Front.Program.ViewModels;
using Microsoft.AspNetCore.Components;

namespace Front.Program.Views.Academy.Common;

public partial class SympleProfile : ComponentBase
{
    [Inject]
    private UserStateService UserStateService { get; set; }

    private string UserName => UserStateService.UserData?.Name ?? "AcaMate";
    private string UserType => UserStateService.UserData?.Type ?? "Parent";
}