1public void ConfigureServices(IServiceCollection services)
2{
3 services.AddRazorPages();
4
5 services.AddDbContext<RazorPagesMovieContext>(options =>
6 options.UseSqlServer(Configuration.GetConnectionString("RazorPagesMovieContext")));
7}
8