Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- services
- .AddDbContext<MusicDemonsContext>(options => {
- options.UseSqlServer(connection_string, b => b.MigrationsAssembly("MusicDemons.Data"));
- })
- .AddScoped<IAccountRepository, AccountRepository>()
- .AddScoped<IRoleRepository, RoleRepository>();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement