@using Contracts.Types;

You are spectating

@code { [Parameter] public Session Session { get; set; } }