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