Beispiel #1
0
 protected async override void OnExecute(object parameter)
 {
     if (parameter is UserBrowserViewModel browser && browser.SelectedItem is IUserCategoryDescriptor descriptor)
     {
         await UserCategoryUtility.NewUserAsync(this.authenticator, descriptor);
     }
 }
Beispiel #2
0
 public async Task NewUserAsync()
 {
     await UserCategoryUtility.NewUserAsync(this.authentication, this.descriptor);
 }