public ReservationController( INewReservation newReservation, IModelFactory modelFactory, IBuyTicket buyTicket, IDeleteReservation deleteReservation ) { this.newReservation = newReservation; this.deleteReservation = deleteReservation; this.buyTicket = buyTicket; this.modelFactory = modelFactory; }
public BuyTicketReservationValidation(IReservationRepository reservationRepo, IBuyTicket buyTicket) { this.reservationRepo = reservationRepo; this.buyTicket = buyTicket; }
public BuyTicketLateValidation(IProjectionRepository projRepo, IBuyTicket buyTicket, IReservationRepository reservationRepository) { this.projRepo = projRepo; this.buyTicket = buyTicket; this.reservationRepository = reservationRepository; }
public TicketController(IBuyTicket buyTicket) { this.buyTicket = buyTicket; }