public AracController(AracService aracService, SubscriptionManager subscriptionManager, /*ICommandBus commandBus,*/ IEventBus eventBus) { _aracService = aracService; // _commandBus = commandBus; _eventBus = eventBus; _subscriptionManager = subscriptionManager; }
public AracAyarlaCommand(string musteriAdSoyad, AracService aracService, IEventBus eventBus) { _arac = new Arac(); _arac.MusteriAdSoyad = musteriAdSoyad; _arac.AracMarka = markaListesi[new Random().Next(markaListesi.Count)]; _arac.TeslimSaati = DateTime.UtcNow.ToString(); _aracService = aracService; _eventBus = eventBus; }
public OdemeBasariliOlduEventHandler(AracService aracService, IEventBus eventBus) { _aracService = aracService; _eventBus = eventBus; }
public EventBusRabbitMQ(IConfiguration configuration, AracService aracService) { connectionFactory = new EventBusConnectionFactory(configuration).getConnectionFactory(); _aracService = aracService; }