feat: Перенесены внешние сервисы в Infrastructure. Удалены лишние проекты.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using FluentValidation;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using PARR.Core.Common.Implementations;
|
||||
using PARR.Core.Common.Interfaces;
|
||||
|
||||
namespace PARR.Core
|
||||
{
|
||||
@@ -22,8 +24,19 @@ namespace PARR.Core
|
||||
services.AddValidatorsFromAssembly(typeof(DependencyInjection).Assembly, includeInternalTypes: true);
|
||||
|
||||
// Регистрируем сревисы Core
|
||||
|
||||
#region Common
|
||||
|
||||
services.AddTransient<ITransformService, TransformService>();
|
||||
|
||||
#endregion
|
||||
|
||||
#region Services
|
||||
|
||||
//services.AddScoped<IUserService, UserService>();
|
||||
|
||||
#endregion
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user