public SortieController() { this.sortieParSemaineRepository = new SortieParSemaineRepository(new ExcursionContext()); this.periodeRepository = new PeriodeRepository(new ExcursionContext()); this.prixRepository = new PrixRepository(new ExcursionContext()); this.excursionRepository = new ExcursionRepository(new ExcursionContext()); this.typeExcRepository = new TypeExcRepository(new ExcursionContext()); this.jourRepository = new JourRepository(new ExcursionContext()); }
public ExcursionController() { this.zoneRepository = new ZoneRepository(new ExcursionContext()); this.excursionRepository = new ExcursionRepository(new ExcursionContext()); this.userRepository = new UserRepository(new ExcursionContext()); this.periodeRepository = new PeriodeRepository(new ExcursionContext()); this.prixRepository = new PrixRepository(new ExcursionContext()); this.excursionThemeRepository = new ExcursionThemeRepository(new ExcursionContext()); this.themeRepository = new ThemeRepository(new ExcursionContext()); }
public PrixController() { this.prixRepository = new PrixRepository(new ExcursionContext()); this.zonePrixRepository = new ZonePrixRepository(new ExcursionContext()); this.zoneRepository = new ZoneRepository(new ExcursionContext()); }