public TripsController(
     ITripsDomainService tripsDomainService,
     ITripPublisher tripPublisher)
 {
     if (tripsDomainService == null) throw new ArgumentNullException("tripsDomainService");
     if (tripPublisher == null) throw new ArgumentNullException("tripPublisher");
     this.tripPublisher = tripPublisher;
     this.tripsDomainService = tripsDomainService;
 }
 public TripsController(
     ITripsDomainService tripsDomainService,
     ITripPublisher tripPublisher)
 {
     if (tripsDomainService == null)
     {
         throw new ArgumentNullException("tripsDomainService");
     }
     if (tripPublisher == null)
     {
         throw new ArgumentNullException("tripPublisher");
     }
     this.tripPublisher      = tripPublisher;
     this.tripsDomainService = tripsDomainService;
 }