Replaced hardcoded FakeProfileId with a dynamic value retrieved from the configuration using a new GetFakeProfileId extension method. Updated OutResController and RecActionController to inject IConfiguration and use the new method. Added a new HttpGet endpoint in OutResController for fake profile queries. Modified appsettings.json to include a FakeProfileId setting with a default value of 2. Introduced ConfigurationExtensions to centralize configuration access logic, improving code maintainability and flexibility.
ReC
Description
Languages
C#
100%