PARR.EsppTemplateSyncWorker
This commit is contained in:
20
PARR.EsppTemplateSync/EsppTemplateSyncInstaller.cs
Normal file
20
PARR.EsppTemplateSync/EsppTemplateSyncInstaller.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using PARR.BLL;
|
||||
using PARR.DAL;
|
||||
using PARR.EsppTemplateSync.Services;
|
||||
|
||||
namespace PARR.EsppTemplateSync
|
||||
{
|
||||
public static class EsppTemplateSyncInstaller
|
||||
{
|
||||
public static void InstallEsppTemplateSyncServices(this IServiceCollection services, IConfiguration configuration)
|
||||
{
|
||||
services.InstallBllServices(configuration);
|
||||
services.InstallDalServices(configuration);
|
||||
|
||||
services.AddTransient<ITemplateSyncer, TemplateSyncer>();
|
||||
services.AddTransient<IParserService, ParserService>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user