Пример #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