Beispiel #1
0
        public IManageSessionOf <IHoldHigherOrder> StartSession(string streamId)
        {
            LastSession = repository.BeginSessionFor(streamId).Result;

            return(LastSession);
        }
        public IManageSessionOf <IHoldHigherOrder> StartSession(string streamId, DateTime?appliesAt = null)
        {
            LastSession = repository.BeginSessionFor(streamId, appliesAt: appliesAt).Result;

            return(LastSession);
        }