コード例 #1
0
 public CreateSeatTypeCommand(ISeatTypeRepository seatTypeRepository, string concertId,
                              string seatTypeName, int quantity, Money price)
 {
     _seatTypeRepository = seatTypeRepository;
     ConcertId           = concertId;
     SeatTypeName        = seatTypeName;
     Quantity            = quantity;
     Price = price;
 }
コード例 #2
0
 public RoomService(IRoomRepository roomRepository, IScheduleRepository scheduleRepository, ISeatTypeRepository seatTypeRepository,
                    IMapper mapper, IParser parser)
 {
     this.roomRepository     = roomRepository;
     this.scheduleRepository = scheduleRepository;
     this.seatTypeRepository = seatTypeRepository;
     this.mapper             = mapper;
     this.parser             = parser;
 }
コード例 #3
0
 public ReservationService(IReservationRepository reservationRepository, IScheduleRepository scheduleRepository,
                           IRoomRepository roomRepository, ISeatTypeRepository seatTypeRepository, IMovieRepository movieRepository, IMapper mapper, IParser parser)
 {
     this.reservationRepository = reservationRepository;
     this.scheduleRepository    = scheduleRepository;
     this.roomRepository        = roomRepository;
     this.seatTypeRepository    = seatTypeRepository;
     this.movieRepository       = movieRepository;
     this.mapper = mapper;
     this.parser = parser;
 }
コード例 #4
0
 public Parser(IScheduleRepository scheduleRepository, IRoomRepository roomRepository, IMovieRepository movieRepository,
               ISeatTypeRepository seatTypeRepository, IReservationRepository reservationRepository, ILocationRepository locationRepository,
               IMapper mapper)
 {
     this.scheduleRepository    = scheduleRepository;
     this.roomRepository        = roomRepository;
     this.movieRepository       = movieRepository;
     this.seatTypeRepository    = seatTypeRepository;
     this.reservationRepository = reservationRepository;
     this.locationRepository    = locationRepository;
     this.mapper = mapper;
 }
コード例 #5
0
 public ConferenceService(
     IEventBus eventBus,
     IConferenceRepositoryContext context,
     IConferenceRepository conferenceRepository,
     IOrderRepository orderRepository,
     ISeatTypeRepository seatTypeRepository)
     : base(context)
 {
     this.eventBus             = eventBus;
     this.conferenceRepository = conferenceRepository;
     this.orderRepository      = orderRepository;
     this.seatTypeRepository   = seatTypeRepository;
 }
 public SeatTypeService(
     ISeatTypeRepository seatTypesRepository
     )
 {
     _seatTypesRepository = seatTypesRepository;
 }
コード例 #7
0
 public PricedOrderViewModelGenerator(ISeatTypeRepository seatTypeRepository)
 {
     pricedOrderRepository   = new ConferenceMongoRepository <PricedOrder>();
     this.seatTypeRepository = seatTypeRepository;
 }
コード例 #8
0
 public SeatTypeService(ISeatTypeRepository seatTypeRepository, IMapper mapper)
 {
     this.seatTypeRepository = seatTypeRepository;
     this.mapper             = mapper;
 }
コード例 #9
0
 public SeatTypeService(ISeatTypeRepository iSeatTypeRepository)
 {
     _iSeatTypeRepository = iSeatTypeRepository;
 }