示例#1
0
        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));
            }
        }
示例#2
0
        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));
            }
        }