public function importSections($codeCountry = null)
 {
     $this->dispatcher->dispatch('display.message', new GenericEvent("Getting the countries from database ..."));
     if ($codeCountry) {
         $countries = $this->countryFetcher->getCountry($codeCountry);
     } else {
         $countries = $this->countryFetcher->getCountries();
     }
     foreach ($countries as $country) {
         $this->dispatcher->dispatch('display.message', new GenericEvent(sprintf("Getting the sections of %s ...", $country->getName())));
         $sections = $this->importSectionsReader->importSections($country);
         $this->dispatcher->dispatch('display.message', new GenericEvent(sprintf("Saving the sections of %s in database (%s) ...", $country->getName(), count($sections))));
         $this->sectionManager->saveSections($sections);
     }
 }
 public function changeStatus(Section $section)
 {
     return $this->sectionManager->changeStatus($section);
 }