28df3f4ec172581ea63a79fb2984afa68c5281bc
Refactored the handling of `senderDoc.ByteData` by replacing the ternary operator with an explicit `if` statement for better readability. Added a `Content-Disposition` header to ensure the file is displayed inline with a proper filename. Updated the MIME type of the file response from `application/octet-stream` to `application/pdf` to reflect the expected content type.
Description
No description provided
Languages
JavaScript
82.6%
C#
8.4%
HTML
4.5%
Visual Basic .NET
2.6%
CSS
1.4%
Other
0.4%