Example #1
0
 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());
 }
Example #2
0
 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());
 }
Example #3
0
 public PrixController()
 {
     this.prixRepository     = new PrixRepository(new ExcursionContext());
     this.zonePrixRepository = new ZonePrixRepository(new ExcursionContext());
     this.zoneRepository     = new ZoneRepository(new ExcursionContext());
 }