public TAggregate GetById <TAggregate>(Guid id) where TAggregate : class, IOrginator, IEventProvider <TDomainEvent>, new() { return(RegisterForTracking(_identityMap.GetById <TAggregate>(id)) ?? _eventStoreUnitOfWork.GetById <TAggregate>(id)); }