Добавьте файлы проекта.
This commit is contained in:
12
Services/Numbers/Extentions/ServiceCollectionExtentions.cs
Normal file
12
Services/Numbers/Extentions/ServiceCollectionExtentions.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
|
||||
namespace Services.Numbers.Extentions;
|
||||
|
||||
public static class ServiceCollectionExtentions
|
||||
{
|
||||
public static void TyAddNumbersService(this IServiceCollection services)
|
||||
{
|
||||
services.TryAddScoped<INumbersService, NumbersService>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user