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