public async Task <Unit> DeleteSelectedDevice()
        {
            using (var disposables = new CompositeDisposable())
            {
                try
                {
                    Logger.Debug($"User pressed 'Delete Selcted Device'");
                    var dialog    = new ConfirmWindow();
                    var viewModel = viewModelFactory.CreateViewModel <ConfirmWindowViewModel>();
                    viewModel.AddDisposableTo(disposables);
                    viewModel.Window             = dialog;
                    dialog.DataContext           = viewModel;
                    dialog.WindowStartupLocation = WindowStartupLocation.CenterScreen;
                    var finished = dialog.ShowDialog();
                    Logger.Debug($"Opend Dialog Window to Confirm if User want to delete the selected Device");

                    if (viewModel.DeleteDevice)
                    {
                        Logger.Debug($"User Confirm with 'Yes Delete'");
                        await azureService.DeleteSelectedDevice(hubName, selectedIoTDeviceInfo.DeviceId);

                        Logger.Debug($"Selected Device was deleted");
                        await Reload();
                    }
                }
                catch (Exception e)
                {
                    Logger.Error("Error in Reactive command", e);
                }
                return(Unit.Default);
            }
        }