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