System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument …...GetPdf(Int64 id, Nullable 1 diagnosticMode, Nullable`1...