public ReservationController(IReservationRepository reservationRepo, INewReservation newReservation, IProjectionRepository projectionRepo, IRoomRepository roomRepo)
 {
     this.reservationRepo = reservationRepo;
     this.newReservation  = newReservation;
     this.projectionRepo  = projectionRepo;
     this.roomRepo        = roomRepo;
 }
 public NewReservationNotExistSeatsValidation(
     INewReservation newReservation, IRoomRepository roomRepo, IProjectionRepository projectionRepo)
 {
     this.newReservation = newReservation;
     this.projectionRepo = projectionRepo;
     this.roomRepo       = roomRepo;
 }
Esempio n. 3
0
 public ManageReservations(IUnitOfWork unitOfWork,
                           UserManager <Customer> userManager,
                           INewReservation newReservation)
 {
     _unitOfWork     = unitOfWork;
     _userManager    = userManager;
     _newReservation = newReservation;
 }
 public NewReservationUniqueValidation(
     INewReservation newReservation,
     IReservationRepository reservationRepo,
     ITicketRepository ticketRepo)
 {
     this.newReservation  = newReservation;
     this.reservationRepo = reservationRepo;
     this.ticketRepo      = ticketRepo;
 }
Esempio n. 5
0
 public ReserveViewModel(INewReservation view)
 {
     view.GetDate          += GetDate;
     view.GetHallName      += GetHallName;
     view.GetMovieTitle    += GetMovieTitle;
     view.GetSeatsLocked   += GetSeatsLocket;
     view.ReserveSeats     += ReserveSeats;
     Cache.WsClient.Unlock += view.Unlock;
 }
Esempio n. 6
0
 public ReservationController(
     INewReservation newReservation,
     IModelFactory modelFactory,
     IBuyTicket buyTicket,
     IDeleteReservation deleteReservation
     )
 {
     this.newReservation    = newReservation;
     this.deleteReservation = deleteReservation;
     this.buyTicket         = buyTicket;
     this.modelFactory      = modelFactory;
 }
 public NewReservationNotExistingSeatsValidation(INewReservation newReservation, IProjectionRepository projRepo)
 {
     this.newReservation = newReservation;
     this.projRepo       = projRepo;
 }
Esempio n. 8
0
 public NewReservationExistingSeatValidation(IProjectionRepository projectionRepo, IRoomRepository roomRepo, INewReservation newReservation)
 {
     this.projectionRepo = projectionRepo;
     this.roomRepo       = roomRepo;
     this.newReservation = newReservation;
 }
 public ReservationController(IReservationRepository reservationRepo, INewReservation newRes)
 {
     this.reservationRepo = reservationRepo;
     this.newRes          = newRes;
 }
 public NewReservationLateValidation(INewReservation newReservation, IProjectionRepository projectionsRepo)
 {
     this.projectionsRepo = projectionsRepo;
     this.newReservation  = newReservation;
 }
 public NewReservationFinishedProjectionValidation(INewReservation newReservation)
 {
     this.newReservation = newReservation;
 }
Esempio n. 12
0
 public BuyTicketWithResController(IReservationRepository reservationRepo, INewReservation newRes)
 {
     this.reservationRepo = reservationRepo;
     this.newRes          = newRes;
 }
Esempio n. 13
0
 public NewReservationStartedProjectionValidation(INewReservation newReservation)
 {
     this.newReservation = newReservation;
 }
Esempio n. 14
0
 public ReservationController(INewReservation newReservation, ICancelReservation accessProjection)
 {
     this.newReservation   = newReservation;
     this.accessProjection = accessProjection;
 }
 public NewReservationStartedOrFinishedProjectionsValidation(IProjectionRepository projRepo, INewReservation newRes)
 {
     this.projRepo = projRepo;
     this.newRes   = newRes;
 }
 public NewReservationProjectionValidation(IProjectionRepository projRepo, INewReservation newReservation)
 {
     this.projRepo       = projRepo;
     this.newReservation = newReservation;
 }
Esempio n. 17
0
 public NewReservationSeatsValidation(INewReservation newReserv, IReservatioRepository reservationRepo)
 {
     this.newReserv       = newReserv;
     this.reservationRepo = reservationRepo;
 }
Esempio n. 18
0
 public ReservationController(INewReservation newReserv)
 {
     this.newReserv = newReserv;
 }
 public NewReservationRoomValidation(INewReservation newReserv, IRoomRepository roomRepo)
 {
     this.newReserv = newReserv;
     this.roomRepo  = roomRepo;
 }
Esempio n. 20
0
 public NewReservationAlreadyReservedSeatsValidation(IReservationRepository reservationRepo, INewReservation newRes)
 {
     this.reservationRepo = reservationRepo;
     this.newRes          = newRes;
 }
Esempio n. 21
0
 public NewReservationReservedSeatsValidation(IReservationRepository reserveRepo, INewReservation newReservation)
 {
     this.reserveRepo    = reserveRepo;
     this.newReservation = newReservation;
 }
 public NewReservationExistingSeatsValidation(IReservationRepository reservationRepo, INewReservation newRes)
 {
     this.reservationRepo = reservationRepo;
     this.newRes          = newRes;
 }
Esempio n. 23
0
 public NewReservationAvailableSeatValidation(IReservationRepository reservationRepo, INewReservation newReservation)
 {
     this.reservationRepo = reservationRepo;
     this.newReservation  = newReservation;
 }
Esempio n. 24
0
 public NewReservationCheckIfSeatAvailableValidation(IProjectionRepository projRepo, INewReservation newReservation)
 {
     this.projRepo       = projRepo;
     this.newReservation = newReservation;
 }