Closed MrWalshyType2 closed 3 years ago
using <xxx>.Data; using Microsoft.EntityFrameworkCore;
services.AddDbContext<MvcMovieContext>(options => options.UseSqlServer(Configuration.GetConnectionString("MvcMovieContext")));