示例#1
0
 def get_data(self, topic_id):
     topic_repository = TopicRepository()
     result = None
     with topic_repository:
         result = topic_repository.get_data(topic_id)
     return result
示例#2
0
 def get_data(self,topic_id):
     topic_repository = TopicRepository()
     result = None
     with topic_repository:
         result = topic_repository.get_data(topic_id)
     return result
示例#3
0
 def get_all_topic(self):
     topic_repository = TopicRepository()
     result = None
     with topic_repository:
         result = topic_repository.get_all_topic()
     return result
示例#4
0
 def get_all_topic(self):
     topic_repository = TopicRepository()
     result = None
     with topic_repository:
         result = topic_repository.get_all_topic()
     return result