refactor: restructure solution to match ItemTracker layered architecture

- Remove Core (replaced by dedicated layers)
- Add DAL.Abstract (domain model + repository interfaces)
- Add DAL.EF (EF context, entities, migrations — references DAL.Abstract)
- Add Services (business logic — references DAL.Abstract only, not DAL.EF)
- Api and Worker reference Services + DAL.EF for DI wiring
- Replace Core.Tests with Services.Tests
- Dependency boundary enforced: Services never references DAL.EF

Ref: IT-628

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Anatolii Grynchuk
2026-05-01 19:17:26 +03:00
parent 8aee35c123
commit ed4a6578c3
12 changed files with 55 additions and 12 deletions
@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
</ItemGroup>
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\HrynCo.NotificationService.Services\HrynCo.NotificationService.Services.csproj" />
<ProjectReference Include="..\HrynCo.NotificationService.DAL.Abstract\HrynCo.NotificationService.DAL.Abstract.csproj" />
</ItemGroup>
</Project>
@@ -0,0 +1,10 @@
namespace HrynCo.NotificationService.Services.Tests;
public class UnitTest1
{
[Fact]
public void Test1()
{
}
}