public void Unsubscribe(string sourceID, string actionID, string objectID, string recipientID)
 {
     var s = new SubscriptionRecord
     {
         Tenant = GetTenant(),
         SourceId = sourceID,
         ActionId = actionID,
         RecipientId = recipientID,
         ObjectId = objectID,
         Subscribed = false,
     };
     service.SaveSubscription(s);
 }
Beispiel #2
0
        public void Unsubscribe(string sourceID, string actionID, string objectID, string recipientID)
        {
            var s = new SubscriptionRecord
            {
                Tenant      = GetTenant(),
                SourceId    = sourceID,
                ActionId    = actionID,
                RecipientId = recipientID,
                ObjectId    = objectID,
                Subscribed  = false,
            };

            service.SaveSubscription(s);
        }