fix bll installer api

This commit is contained in:
Mikhail Trubnikov
2023-08-25 11:29:00 +10:00
parent 8a48086f52
commit 17feefce02
3 changed files with 3 additions and 4 deletions

View File

@@ -17,6 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
.gitlab-ci.yml = .gitlab-ci.yml .gitlab-ci.yml = .gitlab-ci.yml
NuGet.config = NuGet.config NuGet.config = NuGet.config
README.md = README.md
EndProjectSection EndProjectSection
EndProject EndProject
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{AB278172-BFB4-4D54-9022-2D2A5B3338D7}" Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{AB278172-BFB4-4D54-9022-2D2A5B3338D7}"

View File

@@ -38,8 +38,4 @@
<ProjectReference Include="..\PARR.DAL\PARR.DAL.csproj" /> <ProjectReference Include="..\PARR.DAL\PARR.DAL.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="Domain\" />
</ItemGroup>
</Project> </Project>

View File

@@ -1,5 +1,6 @@
using FluentValidation; using FluentValidation;
using PARR.API.Installers; using PARR.API.Installers;
using PARR.BLL;
using PARR.DAL; using PARR.DAL;
using Serilog; using Serilog;
using System.Reflection; using System.Reflection;
@@ -15,6 +16,7 @@ builder.Host.UseSerilog((context, config) =>
// Add services to the container. // Add services to the container.
builder.Services.InstallDalServices(builder.Configuration); builder.Services.InstallDalServices(builder.Configuration);
builder.Services.InstallBllServices(builder.Configuration);
builder.Services.InstallApiServices(builder.Configuration); builder.Services.InstallApiServices(builder.Configuration);
builder.Services.InstallSettings(builder.Configuration); builder.Services.InstallSettings(builder.Configuration);
builder.Services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies()); builder.Services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies());