public KonakController(KonakService konakService, SubscriptionManager subscriptionManager, /*ICommandBus commandBus,*/ IEventBus eventBus) { _konakService = konakService; // _commandBus = commandBus; _eventBus = eventBus; _subscriptionManager = subscriptionManager; }
public KonakAyarlaCommand(string musteriAdSoyad, KonakService konakService, IEventBus eventBus) { _konak = new Konak(); _konak.MusteriAdSoyad = musteriAdSoyad; _konak.Otel = otelListesi[new Random().Next(otelListesi.Count)]; _konak.GirisSaati = DateTime.UtcNow.ToString(); _konakService = konakService; _eventBus = eventBus; }
public OdemeBasariliOlduEventHandler(KonakService konakService, IEventBus eventBus) { _konakService = konakService; _eventBus = eventBus; }
public EventBusRabbitMQ(IConfiguration configuration, KonakService konakService) { connectionFactory = new EventBusConnectionFactory(configuration).getConnectionFactory(); _konakService = konakService; }