6208f642becc1049a57a963b3d17438a3fdba6f1
Replaced FirstOrDefaultAsync with SingleOrDefaultAsync in BodyQueryBehavior.cs and HeaderQueryBehavior.cs to enforce that database queries return at most one result. This change ensures an exception is thrown if multiple results are found, making debugging and error handling more explicit.
Description
Languages
C#
100%