- Introduced a using directive for exceptions in DocumentCreateReadSQL.cs. - Enhanced CreateParmas method with try-catch for base64 conversion errors, throwing BadRequestException on failure. - Added switch statement in HistoryController.cs to manage Related property in ReadHistoryQuery, setting flags for receiver and sender.