Ejemplo n.º 1
0
 public SubTopicController(
     IMapper mapper,
     ILoggerManager logger,
     ISubTopicRepository subTopicRepository,
     IStudentSubTopicRepository studentSubTopicRepository)
 {
     _mapper                    = mapper;
     _logger                    = logger;
     _subTopicRepository        = subTopicRepository;
     _studentSubTopicRepository = studentSubTopicRepository;
 }
        //private readonly IStudentSubTopicRepository _studentSubTopicRepository;

        public ContentDetailController(
            IMapper mapper,
            ILoggerManager logger,
            ISubTopicRepository subTopicRepository,
            IContentDetailRepository contentDetailRepository)
        {
            _mapper                  = mapper;
            _logger                  = logger;
            _subTopicRepository      = subTopicRepository;
            _contentDetailRepository = contentDetailRepository;
            //_studentSubTopicRepository = studentSubTopicRepository;
        }
Ejemplo n.º 3
0
 public SubTopicController(ISubTopicRepository subTopicRepository)
 {
     _subTopicRepository = subTopicRepository;
 }