Using the Clean Architecture template for a .NET application, when setting up the DbContext, it adds a scoped service by default. So why is there a need to add an additional line for scope. Does this provide additional functionality?
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<ApplicationDbContext>(options =>
options.UseSqlServer(
configuration.GetConnectionString("DefaultConnection")));
services.AddScoped<IApplicationDbContext>(provider =>
provider.GetService<ApplicationDbContext>());
}