protected async Task Delete() { var bConfirm = await this.IJSRuntime.InvokeAsync <bool>("DeleteConfirmation"); if (bConfirm) { EmployeeCRUD.DeleteEmployee(strEmployeeID); this.NavigationManager.NavigateTo("listemployees"); } }