Created
January 22, 2021 16:06
-
-
Save nosavvy33/b41464017546c7841386ec8aa16f195d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void ConfigureServices(IServiceCollection services) | |
| { | |
| services.AddTransient<IPrinter, PrinterService>(); | |
| services.AddTransient<ICalculator, CalculatorService>(); | |
| services.AddControllers(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment