public async Task <LogsResponse> Handle(LogsRequest request, CancellationToken cancellationToken) { return(await Task.Run(() => new LogsResponse() { Logs = logsRepository.GetLogs() as List <LogsDto> })); }