Last active
February 6, 2024 15:13
-
-
Save alemik/3e28aae6d5e907d52352163944c49b25 to your computer and use it in GitHub Desktop.
Use Services
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
| using Microsoft.Extensions.DependencyInjection; | |
| public static IServiceCollection UseBaseServices(this IServiceCollection services) | |
| { | |
| services.AddSingleton<BaseService>(); | |
| return services; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment