public IEnumerable <Guid> GetCars() { var message = new GetCarsMessage(Guid.NewGuid(), DateTime.Now); _messageSubject.Publish(message); return(new Guid[] { message.MessageId }); }
public void Publish(IBaseMessage message) { _messageObservable.Publish(message); }