Пример #1
0
 public async Task <LogsResponse> Handle(LogsRequest request, CancellationToken cancellationToken)
 {
     return(await Task.Run(() => new LogsResponse()
     {
         Logs = logsRepository.GetLogs() as List <LogsDto>
     }));
 }