23 lines
782 B
C#
23 lines
782 B
C#
|
|
using Microsoft.Extensions.Configuration;
|
|||
|
|
using Microsoft.Extensions.DependencyInjection;
|
|||
|
|
|
|||
|
|
namespace PARR.EsppOrderLoader
|
|||
|
|
{
|
|||
|
|
public static class ParrEsppOrderLoaderInstaller
|
|||
|
|
{
|
|||
|
|
public static void InstallEsppOrderLoaderServices(this IServiceCollection services, IConfiguration configuration)
|
|||
|
|
{
|
|||
|
|
//TODO: добавить настройи bll и dal и espp api
|
|||
|
|
|
|||
|
|
// settings
|
|||
|
|
//SettingsFromDb configuration
|
|||
|
|
//var settingsFromDb = new SettingsFromDb();
|
|||
|
|
//configuration.GetSection(nameof(SettingsFromDb)).Bind(settingsFromDb);
|
|||
|
|
//services.AddSingleton(settingsFromDb);
|
|||
|
|
|
|||
|
|
//add other services
|
|||
|
|
//services.AddTransient<IEsppApiService, EsppApiService>();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|