services.AddScoped(typeof(Test));
//services.AddScoped<Test>()
// .AddScoped<ITest, Test>(s => s.GetService<Test>());
services.AddScoped(typeof(Test));
//services.AddScoped<Test>()
// .AddScoped<ITest, Test>(s => s.GetService<Test>());