public IEnumerable <LearningCourseDTO> IndexCourse(LearningCourseDTO course) { var indexer = new LuceneIndexer(); indexer.AddUpdateLuceneIndex(course); return(indexer.GetAllIndexRecords()); }
public IEnumerable <LearningCourseDTO> GetIndexedCourses() { var indexer = new LuceneIndexer(); return(indexer.GetAllIndexRecords()); }