Exemplo n.º 1
0
 protected async override void OnExecute(object parameter)
 {
     if (parameter is UserBrowserViewModel browser && browser.SelectedItem is IUserDescriptor descriptor)
     {
         await UserUtility.BanAsync(this.authenticator, descriptor);
     }
 }