Пример #1
0
 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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #8
0
 public NewReservationExistingSeatValidation(IProjectionRepository projectionRepo, IRoomRepository roomRepo, INewReservation newReservation)
 {
     this.projectionRepo = projectionRepo;
     this.roomRepo       = roomRepo;
     this.newReservation = newReservation;
 }
Пример #9
0
 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;
 }
Пример #12
0
 public BuyTicketWithResController(IReservationRepository reservationRepo, INewReservation newRes)
 {
     this.reservationRepo = reservationRepo;
     this.newRes          = newRes;
 }
Пример #13
0
 public NewReservationStartedProjectionValidation(INewReservation newReservation)
 {
     this.newReservation = newReservation;
 }
Пример #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;
 }
Пример #17
0
 public NewReservationSeatsValidation(INewReservation newReserv, IReservatioRepository reservationRepo)
 {
     this.newReserv       = newReserv;
     this.reservationRepo = reservationRepo;
 }
Пример #18
0
 public ReservationController(INewReservation newReserv)
 {
     this.newReserv = newReserv;
 }
 public NewReservationRoomValidation(INewReservation newReserv, IRoomRepository roomRepo)
 {
     this.newReserv = newReserv;
     this.roomRepo  = roomRepo;
 }
Пример #20
0
 public NewReservationAlreadyReservedSeatsValidation(IReservationRepository reservationRepo, INewReservation newRes)
 {
     this.reservationRepo = reservationRepo;
     this.newRes          = newRes;
 }
Пример #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;
 }
Пример #23
0
 public NewReservationAvailableSeatValidation(IReservationRepository reservationRepo, INewReservation newReservation)
 {
     this.reservationRepo = reservationRepo;
     this.newReservation  = newReservation;
 }
Пример #24
0
 public NewReservationCheckIfSeatAvailableValidation(IProjectionRepository projRepo, INewReservation newReservation)
 {
     this.projRepo       = projRepo;
     this.newReservation = newReservation;
 }