Exemplo n.º 1
0
 public void AddToQueue(QueueEntry queueEntry)
 {
     try
     {
         if (queueEntry.CustomerReference != null)
         {
             new GlobalBankDataServices().QueueCustomer(queueEntry.CustomerReference, queueEntry.ReasonCode, queueEntry.Description);
         }
         else if (queueEntry.WalkinReference != null)
         {
             new GlobalBankDataServices().QueueWalkin(queueEntry.WalkinReference, queueEntry.ReasonCode, queueEntry.Description);
         }
     }
     catch (Exception ex)
     {
         throw SoapExceptionFactory.CreateSoapClientException(ex);
     }
 }
Exemplo n.º 2
0
 public QueueEntry RemoveFromQueue(QueueEntry queueEntry)
 {
     return(new GlobalBankDataServices().RemoveQueueEntry(queueEntry.QueueEntryID.ID));
 }