public CourseMaterialsController(ICourseMaterialService courseMaterialService, IMapper mapper, IOptions <AppSettings> appSettings) { _courseMaterialService = courseMaterialService; _mapper = mapper; _appSettings = appSettings.Value; }
public SearchController(ICourseMaterialService repository) { _repository = repository; }