示例#1
0
        public void MakeTransfer()
        {
            InProgress = true;
            Message    = Messages.ITransferInProgress;

            if (PartnerName != null)
            {
                Motif = PartnerName + " - " + Motif;
            }

            if (ToExternal)
            {
                OperationService.BeginMakeTransferToExternal(From.Id, CreditAccountIban, Amount, Motif, EndMakeTransferToExternal, null);
            }
            else
            {
                OperationService.BeginMakeTransfer(From.Id, To.Id, Amount, Motif, EndMakeTransfer, null);
            }
        }