예제 #1
0
        private void DeleteExecute(BankTransfer transfer)
        {
            try
            {
                transfer.ChangeTracker.State = ObjectState.Deleted;

                //MainModuleServiceClient client = new MainModuleServiceClient();
                //client.RemoveBankTransferAsync(transfer);

                this.GetTransfers();
            }
            catch (FaultException<ServiceError> ex)
            {
                MessageBox.Show(ex.Detail.ErrorMessage);
            }
        }
예제 #2
0
 private void EditExecute(BankTransfer transfer)
 {
 }
예제 #3
0
 private bool CanEditExecute(BankTransfer transfer)
 {
     return (transfer != null);
 }
예제 #4
0
 private void DeleteExecute(BankTransfer transfer)
 {
     try
     {   
         this.GetTransfers();
     }
     catch (FaultException<ServiceError> ex)
     {
         MessageBox.Show(ex.Detail.ErrorMessage);
     }
 }