Exemplo n.º 1
0
 public void UpdateSendTransactions()
 {
     foreach (var transaction in _sendTransactions)
     {
         transaction.Do();
         _sendTransactions.Remove(transaction);
         ContextWindow.UpdateDatabaseFile();
     }
 }
Exemplo n.º 2
0
 public void UpdateCreditTransactions()
 {
     foreach (var transaction in _creditTransactions)
     {
         transaction.Do();
         CreditTransaction aux = (CreditTransaction)transaction;
         if (aux.CreditPayed)
         {
             _creditTransactions.Remove(transaction);
         }
         ContextWindow.UpdateDatabaseFile();
     }
 }