Exemple #1
0
        protected override void OnCommandDeleteExecute()
        {
            var result = _messageDialogService.ShowOkCancelDialog($"Do you really want to delete the Broker ?", "Delete");

            if (result == MessageDialogResult.OK)
            {
                _repository.Remove(CustomerBrokerWrapper.Entity);
                _repository.SaveAsync();

                RaiseEventAfterDetailDeleted(Id);
            }
        }