feat(EsppSync): доработка логики

This commit is contained in:
Mikhail Trubnikov
2023-11-22 12:04:33 +10:00
parent fffdb134c6
commit ede7075eb5
14 changed files with 43 additions and 14 deletions

View File

@@ -0,0 +1,16 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using PARR.DAL;
namespace PARR.EsppSync
{
public static class EsppSyncInstaller
{
public static void InstallEsppSyncServices<EsppObject>(this IServiceCollection services, IConfiguration configuration) where EsppObject : class, IEsppObject
{
services.InstallDalServices(configuration);
services.AddTransient<ISyncService<EsppObject>, SyncService<EsppObject>>();
}
}
}