Ejemplo n.º 1
0
 public async Task <Response> Handle(Request request, CancellationToken cancellationToken)
 => new Response()
 {
     Log = LogDto.FromLog(_eventStore.Query <Log>(request.LogId))
 };
Ejemplo n.º 2
0
 public async Task <Response> Handle(Request request, CancellationToken cancellationToken)
 => new Response()
 {
     Logs = _eventStore.Query <Log>().Select(x => LogDto.FromLog(x)).ToList()
 };