添加项目文件。
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using IdentityService.Domain;
|
||||
using IM.Commons;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace IdentityService.Infrastructure
|
||||
{
|
||||
public class ModuleInit : IModuleInitializer
|
||||
{
|
||||
public void Initialize(IServiceCollection services)
|
||||
{
|
||||
services.AddScoped<IdDomainService>();
|
||||
services.AddScoped<IIdRepository, IdReposity>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user