|
@@ -38,7 +38,7 @@ var config = new AppSettingsConfiguration();
|
|
|
// Add services to the container.
|
|
|
builder.Services.AddDbContext<HRDataContext>(options =>
|
|
|
{
|
|
|
- options.UseSqlServer(config.ConnectionStrings.mt);
|
|
|
+ options.UseSqlServer(config.ConnectionStrings.MTWorkHRConnectionString);
|
|
|
// options.UseSqlServer(builder.Configuration.GetSection("ConnectionStrings:MTWorkHRConnectionString").Value);
|
|
|
});
|
|
|
|