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();
            }
        }
Example #3
0
 protected void QuickAddEmployee()
 {
     AddEmployeeDialog.Show();
 }
Example #4
0
 public void QuickAddEmployee()
 {
     AddEmployeeDialog.Show();
 }