feat(esppApi): Заготовка для api
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
namespace PARR.EsppOrderLoader
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,10 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\PARR.BLL\PARR.BLL.csproj" />
|
||||
<ProjectReference Include="..\PARR.DAL\PARR.DAL.csproj" />
|
||||
<ProjectReference Include="..\PARR.EsppApi\PARR.EsppApi.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
22
PARR.EsppOrderLoader/ParrEsppOrderLoaderInstaller.cs
Normal file
22
PARR.EsppOrderLoader/ParrEsppOrderLoaderInstaller.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user