db configuration provider

This commit is contained in:
Mikhail Trubnikov
2023-09-19 14:34:55 +10:00
parent 943c18e707
commit 223c7b0434
15 changed files with 162 additions and 53 deletions

View File

@@ -18,14 +18,17 @@ namespace PARR.API.Controllers.V1
{
private readonly IMapper mapper;
private readonly ITemplateService templateService;
private readonly SettingsFromDb settingsFromDb;
public TemplateController(
IMapper mapper,
ITemplateService templateService
ITemplateService templateService,
SettingsFromDb settingsFromDb
)
{
this.mapper = mapper;
this.templateService = templateService;
this.settingsFromDb = settingsFromDb;
}