Files
parr_api/PARR.EsppOrderLoader/ParrEsppOrderLoaderInstaller.cs
2023-10-19 16:55:42 +10:00

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>();
}
}
}