public override IList <Topic> GetTopics(Category category, PagingInfo paging) { using (TransactionScope transaction = new TransactionScope(mConfiguration)) { TopicDataStore dataStore = new TopicDataStore(transaction); return(dataStore.Find(category, paging)); } }
public override IList <Topic> GetTopics(Category category, DateTime fromDate, DateTime toDate) { using (TransactionScope transaction = new TransactionScope(mConfiguration)) { TopicDataStore dataStore = new TopicDataStore(transaction); return(dataStore.Find(category, fromDate, toDate)); } }