public static async Task <bool> KickAsync(Authentication authentication, IDomainMemberDescriptor descriptor) { var dialog = await KickEditorViewModel.CreateInstanceAsync(authentication, descriptor); if (dialog != null) { return(await dialog.ShowDialogAsync() == true); } return(false); }
public static async Task <bool> KickAsync(Authentication authentication, IDomainUserDescriptor descriptor) { var dialog = await KickEditorViewModel.CreateInstanceAsync(authentication, descriptor); return(dialog?.ShowDialog() == true); }