示例#1
0
 public CourtBookingManager(
     ICourtBookingService bookingService,
     IBookingRuleProcessor bookingRuleProcessor,
     INotificationService notificationService)
 {
     _bookingService       = bookingService;
     _bookingRuleProcessor = bookingRuleProcessor;
     _notificationService  = notificationService;
 }
 public PitchBookingManager(
     IPitchBookingService bookingService,
     IBookingRuleProcessor bookingRuleProcessor,
     IMessagingService messagingService)
 {
     _bookingService       = bookingService;
     _bookingRuleProcessor = bookingRuleProcessor;
     _messagingService     = messagingService;
 }