public void Add(string streamId, AggregateRoot aggregateRoot) => _aggregateRoots.Add(streamId, aggregateRoot);
public bool TryGet(string streamId, out AggregateRoot aggregateRoot) => _aggregateRoots.TryGetValue(streamId, out aggregateRoot);