Exemplo n.º 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));
            }
        }
Exemplo n.º 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));
            }
        }