@code { [Parameter] public EventCallback EC_Close { get; set; } [Parameter] public List? ListODL { get; set; } = null; [Parameter] public List? ListPODL { get; set; } = null; [Parameter] public List? ListTK { get; set; } = null; protected override void OnParametersSet() { numTempKit = ListTK != null ? ListTK.Count() : 0; numIstKit = ListPODL != null ? ListPODL.Count() : 0; } protected async void ReqClose() { await EC_Close.InvokeAsync(true); } private int numTempKit = 0; private int numIstKit = 0; }