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