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