public EventPersister(IAmAGatewayForWebRequests requestGateway, CouchDbDatabaseDetails couchDbDatabaseDetails) { _requestGateway = requestGateway; _couchDbDatabaseDetails = couchDbDatabaseDetails; }
public EventHistoryLoader(IAmAGatewayForWebRequests webRequestGateway, IMapADocumentToAnObjectGraph<IAmAnEvent[]> documentMapper, CouchDbDatabaseDetails databaseDetails) { _webRequestGateway = webRequestGateway; _documentMapper = documentMapper; _databaseDetails = databaseDetails; }