Renamed `AddInfrastructureServices` to `AddRecInfrastructure` in both generic and non-generic forms to standardize naming and improve clarity. Updated `Program.cs` to use the new method, adding database context configuration with a connection string from the app's configuration. Added a constraint to `AddRecInfrastructure<TRecDbContext>` requiring `TRecDbContext` to inherit from `RecDbContext`. Refactored the method to register entities from the assembly containing `RecAction`. Removed the old `AddInfrastructureServices` method entirely.
ReC
Description
Languages
C#
100%