- Updated `ProfileController` to always return `Ok(profile)` instead of `NotFound()`. - Changed `ReadProfileQuery` to return a non-nullable `ProfileDto`, throwing `NotFoundException` if not found. - Modified `ReadProfileHandler` to handle the new return type and throw exceptions appropriately. - Adjusted `ReadProfileAsync` to align with the new non-nullable return type. - Added dependency on `DigitalData.Core.Exceptions` for improved error handling.
WorkFlow
Description
Languages
C#
100%