Ejemplo n.º 1
0
 public CarOperationHandler(ICarRepository carRepository, IBookingRepository bookingRepository, ICurrencyConverterHandler currencyConverterHandler, IUserOperationHandler userOperationHandler)
 {
     this.carRepository            = carRepository;
     this.bookingRepository        = bookingRepository;
     this.currencyConverterHandler = currencyConverterHandler;
     this.userOperationHandler     = userOperationHandler;
 }
Ejemplo n.º 2
0
 public UserListener(IUserOperationHandler userOperationHandler, IOptions <RabbitMqConfiguration> rabbitMqOptions)
 {
     hostname  = rabbitMqOptions.Value.Hostname;
     queueName = rabbitMqOptions.Value.QueueName;
     username  = rabbitMqOptions.Value.UserName;
     password  = rabbitMqOptions.Value.Password;
     this.userOperationHandler = userOperationHandler;
     InitializeRabbitMqListener();
 }
Ejemplo n.º 3
0
 public UserController(IUserOperationHandler userOperationHandler, IBookingOperationHandler bookingOperationHandler)
 {
     this.userOperationHandler    = userOperationHandler;
     this.bookingOperationHandler = bookingOperationHandler;
 }
Ejemplo n.º 4
0
 public UserController(IUserOperationHandler userOperationHandler)
 {
     this.userOperationHandler = userOperationHandler;
 }