public GetPendingForVehicleViewModelMapper(
     IBookingRepository bookingRepository,
     ICustomerServiceProxy customerServiceProxy)
 {
     _bookingRepository = bookingRepository;
     _customerServiceProxy = customerServiceProxy;
 }
 public IndexViewModelMapper(
     IUserProvider userProvider,
     IBookingRepository bookingService,
     ICustomerServiceProxy customerServiceProxy,
     IVehicleServiceProxy vehicleServiceProxy)
 {
     _userProvider = userProvider;
     _bookingService = bookingService;
     _customerServiceProxy = customerServiceProxy;
     _vehicleServiceProxy = vehicleServiceProxy;
 }
        public CreateOrderSagaOrchestrator(ICustomerServiceProxy customerServiceProxy,
                                           IServiceBusSubscriber serviceBusSubscriber,
                                           IOrderRepository orderRepository)
        {
            _customerServiceProxy = customerServiceProxy;
            _orderRepository      = orderRepository;

            base.AddSagaParticipant(new OrderSagaParticipant(
                                        serviceBusSubscriber,
                                        _orderRepository,
                                        "CustomerServiceReply")
                                    );
        }
示例#4
0
 public CustomerController(ICustomerServiceProxy customerServiceProxy)
 {
     _customerServiceProxy = customerServiceProxy;
 }