Exemplo n.º 1
0
 public ProjectionController(
     INewProjection newProj,
     IAvailableSeatsCount checkingAvailableSeats,
     IProjectionRepository projectionRepo,
     ICancelReservations cancelReservations)
 {
     this.newProj = newProj;
     this.checkingAvailableSeats = checkingAvailableSeats;
     this.projectionRepo         = projectionRepo;
     this.cancelReservations     = cancelReservations;
 }
Exemplo n.º 2
0
 public AvailableSeatsCountExistValidation(IProjectionRepository projectionsRepo,
                                           IAvailableSeatsCount availableSeats)
 {
     this.projectionsRepo = projectionsRepo;
     this.availableSeats  = availableSeats;
 }
Exemplo n.º 3
0
 public AvailableSeatsCountLateValidation(IAvailableSeatsCount availableSeats,
                                          IProjectionRepository projectionsRepo)
 {
     this.projectionsRepo = projectionsRepo;
     this.availableSeats  = availableSeats;
 }