protected async Task QuickAddEmployee( ) { var authenticationState = await AuthenticationStateTask; if (authenticationState.User.Identity.Name.CompareTo("Warren") == 0) { AddEmployeeDialog.Show( ); } }
protected async Task QuickAddEmployee() { var authenticationState = await authenticationStateTask; if (authenticationState.User.Identity.Name == "Kevin") { AddEmployeeDialog.Show(); } }
protected void QuickAddEmployee() { AddEmployeeDialog.Show(); }
public void QuickAddEmployee() { AddEmployeeDialog.Show(); }