public void GenerateIndexes()
 {
     SearchProviderDAO searchProvider = new SearchProviderDAO();
     searchProvider.GenerateIndexes();
 }
 public List<TaskMainDTO> FindTasks(string textQuery)
 {
     SearchProviderDAO searchProvider = new SearchProviderDAO();
     IList<TaskMainDAO> taskMainDAO = searchProvider.Find(textQuery);
     IList<ITask> taskMain = ConverterDAOtoDomain.TaskMainDaoToTaskMain(taskMainDAO);
     List<TaskMainDTO> taskMainDTO = ConverterDomainToDTO.TaskMainToTaskMainDTO(taskMain);
     return taskMainDTO;
 }