private static IEventStoreConnection GetEventStoreConnection(IEventStoreConfiguration configuration) { var eventStoreConnection = EventStoreConnectionFactory.Create( EventStoreLocation.External, configuration); return eventStoreConnection; } }