protected async Task HandleValidSubmit() { await UserDataService.AddUserAsync(User); await CloseEventCallBack.InvokeAsync(true);//we can send even the save employee here ShowDialog = false; StateHasChanged(); }