public async void PatientSelect(PatientUI patient)
        {
            await SelectCallback.InvokeAsync(patient);

            await CloseCallback.InvokeAsync(true);

            ShowDialog = false;
            StateHasChanged();
        }
Exemplo n.º 2
0
        protected async Task HandleValidSubmit()
        {
            await PatientService.AddPatient(Patient);

            ShowDialog = false;

            await CloseCallback.InvokeAsync(true);

            StateHasChanged();
        }