private void Handle(ExecutionPathCreatedEvent evt)
        {
            var path = new ExecutionPath {
                Id = evt.ExecutionPathId, CreateDateTime = evt.CreateDateTime
            };

            ExecutionPathLst.Add(path);
            Version        = evt.Version;
            UpdateDateTime = evt.CreateDateTime;
        }
        public void NewExecutionPath()
        {
            var pathId = Guid.NewGuid().ToString();
            var evt    = new ExecutionPathCreatedEvent(Guid.NewGuid().ToString(), AggregateId, Version + 1, pathId, DateTime.UtcNow);

            Handle(evt);
            DomainEvents.Add(evt);
            foreach (var startEvt in StartEvts)
            {
                TryAddExecutionPointer(pathId, startEvt);
            }
        }