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; }
public SubTopicController(ISubTopicRepository subTopicRepository) { _subTopicRepository = subTopicRepository; }