Changeset d2e69be for Farmatiko/Startup.cs
- Timestamp:
- 07/27/20 17:10:07 (4 years ago)
- Branches:
- master
- Children:
- ef1219a
- Parents:
- 4b342bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/Startup.cs
r4b342bb rd2e69be 8 8 using FarmatikoData; 9 9 using Microsoft.EntityFrameworkCore; 10 using FarmatikoServices; 11 using FarmatikoData.FarmatikoRepoInterfaces; 12 using FarmatikoData.FarmatikoRepo; 10 13 11 14 namespace Farmatiko … … 32 35 services.AddEntityFrameworkNpgsql().AddDbContext<FarmatikoDataContext>(opt => opt.UseNpgsql(connectionString)); 33 36 37 services.AddTransient<IHealthFacilityRepository, HealthFacilityRepository>(); 38 services.AddTransient<IHealthFacilityService, HealthFacilityService>(); 34 39 } 35 40
Note:
See TracChangeset
for help on using the changeset viewer.