feat(all): преметры espp Api принимают дату utc. В подробном описании шаблона возвращается префикс.

This commit is contained in:
Mikhail Trubnikov
2023-10-24 15:40:52 +10:00
parent 59db8fa312
commit fbeabeb165
12 changed files with 98 additions and 68 deletions

View File

@@ -9,6 +9,7 @@ using PARR.DAL.Services.Implementations;
using PARR.DAL.Services.Implementations.AIHIT;
using PARR.DAL.Services.Interfaces;
using PARR.DAL.Services.Interfaces.AIHIT;
using PARR.DAL.Settings;
using PARR.DAL.TransformServices;
namespace PARR.DAL
@@ -83,9 +84,9 @@ namespace PARR.DAL
var settingsFromDb = new SettingsFromDb();
configuration.GetSection(nameof(SettingsFromDb)).Bind(settingsFromDb);
services.AddSingleton(settingsFromDb);
PrefixSettings.Prefix = settingsFromDb.TemplatePrefixName;
}
}
}