| | |
| | | services.AddDbContext<zcUserInfoN_dbContext>(options => |
| | | options.UseSqlServer(connectionString2)); |
| | | |
| | | var connectionString3 = Configuration.GetConnectionString("WebCrawlerConnection"); |
| | | services.AddDbContext<WebCrawlerContext>(options => |
| | | options.UseSqlServer(connectionString3)); |
| | | |
| | | var connectionString4 = Configuration.GetConnectionString("IMdbtestConnection"); |
| | | services.AddDbContext<IMdbtestContext>(options => |
| | | options.UseSqlServer(connectionString4)); |
| | | |
| | | services.AddControllersWithViews(); |
| | | |
| | | services.AddScoped(typeof(ISimService), typeof(SimService)); |