Example #1
0
 public void DeleteTopic(int topicId)
 {
     Do(c =>
     {
         var t = c.BeginTransaction();
         PayloadHelper.DeleteAll(c, t, topicId);
         TopicHelper.Delete(c, t, topicId);
         t.Commit();
     });
 }
Example #2
0
 public void DeletePayloads(int topicId)
 {
     Do(c => { PayloadHelper.DeleteAll(c, null, topicId); });
 }