file service вынесен в bll. EsppDataController UploadTemplates

This commit is contained in:
Mikhail Trubnikov
2023-08-25 10:25:24 +10:00
parent 49ba6569b1
commit 8a48086f52
13 changed files with 122 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ namespace PARR.API.Installers
});
services.AddTransient<IClientService, ClientService>();
services.AddTransient<IFileService, FileService>();
}

View File

@@ -9,9 +9,9 @@ namespace PARR.API.Installers
{
public static void InstallSettings(this IServiceCollection services, IConfiguration configuration)
{
var storageSettings = new StorageSettings();
configuration.GetSection(nameof(StorageSettings)).Bind(storageSettings);
services.AddSingleton(storageSettings);
//var storageSettings = new StorageSettings();
//configuration.GetSection(nameof(StorageSettings)).Bind(storageSettings);
//services.AddSingleton(storageSettings);
//TODO: add other
}