The conditional check in the `Handle` method of the `ReadRecActionQueryHandler` class was updated. Previously, the code threw a `NotFoundException` if the `actions` list was not empty (`actions.Count != 0`). This logic was inverted to throw the exception when the `actions` list is empty (`actions.Count == 0`). This change ensures the exception is thrown only when no actions are found for the given profile, aligning with the intended behavior described in the exception message.
ReC
Description
Languages
C#
100%