Example #1
0
 public TopicsController(IGetAllTopicsOperation allTopicsOperation,
                         ICreateTopicOperation topicOperation,
                         ILearnTopicOperation learnTopicOperation,
                         IGetTopicTreeOperation topicTreeOperation,
                         IGetTopicDetailsOperation getTopicDetailsOperation,
                         IGetEmployeeTopicTreeOperation getEmployeeTopicTreeOperation,
                         IGetPersonalTopicTreeOperation getPersonalTopicTreeOperation,
                         IUpdateTopicOperation updateTopicOperation,
                         IGetSelfLearnedTopicsOperation getSelfLearnedTopicsOperation)
 {
     _getAllTopicsOperation         = allTopicsOperation;
     _createTopicOperation          = topicOperation;
     _learnTopicOperation           = learnTopicOperation;
     _getTopicTreeOperation         = topicTreeOperation;
     _getTopicDetailsOperation      = getTopicDetailsOperation;
     _getEmployeeTopicTreeOperation = getEmployeeTopicTreeOperation;
     _getPersonalTopicTreeOperation = getPersonalTopicTreeOperation;
     _updateTopicOperation          = updateTopicOperation;
     _getSelfLearnedTopicsOperation = getSelfLearnedTopicsOperation;
 }
Example #2
0
 public UpdateTopicOperation(ITopicRepository topicRepository,
                             IGetTopicTreeOperation getTopicTreeOperation)
 {
     _topicRepository       = topicRepository;
     _getTopicTreeOperation = getTopicTreeOperation;
 }