Пример #1
0
 public TicketService(
     TicketRepository ticketRepository,
     TicketRelationRepository ticketRelationRepository,
     TicketTypeRepository ticketTypeRepository,
     TicketRuleRepository ticketRuleRepository,
     OtaTicketRelationService otaTicketRelationService,
     OtaTicketRelationRepository otaTicketRelationRepository)
 {
     _ticketRepository            = ticketRepository;
     _ticketRelationRepository    = ticketRelationRepository;
     _ticketTypeRepository        = ticketTypeRepository;
     _ticketRuleRepository        = ticketRuleRepository;
     _otaTicketRelationService    = otaTicketRelationService;
     _otaTicketRelationRepository = otaTicketRelationRepository;
 }
 public TicketFacadeService(
     OtaBusinessService otaBusinessService,
     OtaTicketRelationService otaTicketRelationService,
     TicketService ticketService,
     AuthorizationService AuthorizationService,
     ScenicService scenicService,
     TicketRuleService ticketRuleService,
     TicketRelationRepository ticketRelationRepository
     )
 {
     _otaBusinessService       = otaBusinessService;
     _otaTicketRelationService = otaTicketRelationService;
     _ticketService            = ticketService;
     _AuthorizationService     = AuthorizationService;
     _scenicService            = scenicService;
     _ticketRuleService        = ticketRuleService;
     _ticketRelationRepository = ticketRelationRepository;
 }
 public TicketRelationService(TicketRelationRepository ticketRelationRepository)
 {
     _ticketRelationRepository = ticketRelationRepository;
 }