Example #1
0
 public bool IsCommentsSubscribe(Guid postID)
 {
     return
         (_subscriptionProvider.IsSubscribed(
              ASC.Blogs.Core.Constants.NewComment,
              IAmAsRecipient,
              postID.ToString()));
 }
Example #2
0
 public static bool IsSubscribedToNotify(IRecipient recipient, INotifyAction notifyAction)
 {
     return(recipient != null && SubscriptionProvider.IsSubscribed(notifyAction, recipient, null));
 }