95% of my Interfaces have a single implementation:
builder.Services.AddTransient<IEmailService, EmailService>();
Now I have like hundret lines of that.
Is there a good and easy way to “automaticly” implement this 1:1 in the DI?
1
95% of my Interfaces have a single implementation:
builder.Services.AddTransient<IEmailService, EmailService>();
Now I have like hundret lines of that.
Is there a good and easy way to “automaticly” implement this 1:1 in the DI?
1