public void RevokeConsumer(long consumerId)
 {
     if (ApprovedConsumers.Contains(consumerId))
     {
         ((IList <long>)ApprovedConsumers).Remove(consumerId);
     }
 }
 public void ApproveConsumer(long consumerId)
 {
     if (!ApprovedConsumers.Contains(consumerId))
     {
         ((IList <long>)ApprovedConsumers).Add(consumerId);
     }
 }
 public bool IsConsumerApproved(long consumerId)
 {
     return(ApprovedConsumers.Contains(consumerId));
 }