public async Task <ActionResult> Get([FromRoute] string firstName, CancellationToken cancellationToken)
        {
            var m = new Aggregate <TAggregate>(_svc, firstName);

            await m.BuildAsync(true, cancellationToken);

            return(Ok(m));
        }
        public async Task <ActionResult> Get(CancellationToken cancellationToken)
        {
            var streams = await _svc.ReadEventStreamsAsync(null, cancellationToken : cancellationToken);

            var lst = new List <Aggregate <TAggregate> >();

            foreach (var es in streams)
            {
                var m = new Aggregate <TAggregate>(_svc, es.StreamId);

                await m.BuildAsync(true, cancellationToken);

                lst.Add(m);
            }

            return(Ok(lst.ToList()));
        }