Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor config retrieval and update appsettings.json
Simplified the retrieval of the `TopClientTypes` configuration value in `ReportController.cs` by using `int.Parse(configuration["TopClientTypes"]!)` instead of `configuration.GetSection("AppSettings:TopClientTypes").Get<int>()`. Restructured `appsettings.json` to move `TopClientTypes` and `DefaultRedirectionUrl` settings out of the `AppSettings` section and place them directly at the root level, aligning with the updated code in `ReportController.cs`.
- Loading branch information