public void InitializeEventStore(IEventStoreConfiguration configuration)
{
var eventStoreConnection = EventStoreConnectionFactory.Create(EventStoreLocation.External, configuration);
eventStoreConnection.ConnectAsync().Wait();
ReferenceDataHelper.PopulateRefData(eventStoreConnection).Wait();
}
}