public async Task <GetLogsResponse> Handle(GetLogsRequest request, CancellationToken cancellationToken) { var logs = await logReader.GetLogsFromFile(request); httpContextWriter.AddPagination(logs.CurrentPage, logs.PageSize, logs.TotalCount, logs.TotalPages); return(new GetLogsResponse { Logs = logs }); }