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