Ejemplo n.º 1
0
 public ReservationEngine(IReservationRepository reservationRepository, ICampsiteRepository campsiteRepository,
                          IReservationRuleChain reservationRuleChain)
 {
     _reservationRepository = reservationRepository;
     _campsiteRepository    = campsiteRepository;
     _reservationRuleChain  = reservationRuleChain;
 }
Ejemplo n.º 2
0
 public IndexModel(ICampsiteRepository campsiteRepository)
 {
     CampsiteRepository = campsiteRepository;
 }