var connectionString = builder.Configuration.GetConnectionString("AppDb"); builder.Services.AddDbContext<EmployeeDbContext>(x => x.UseSqlServer(connectionString));