feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.

This commit is contained in:
Mikhail Trubnikov
2026-04-30 10:35:31 +10:00
parent f1ea69da1f
commit eb78dfd6a8
356 changed files with 1817 additions and 1985 deletions

View File

@@ -1,10 +1,10 @@
using Microsoft.Extensions.Logging;
using Moq;
using PARR.Core.Repositories.Interfaces.Job;
using PARR.Core.Repositories.Interfaces.Unit;
using PARR.DAL.Contracts;
using PARR.DAL.DomainServices.Shortcodes;
using PARR.DAL.DomainServices.UnitFilterService;
using PARR.DAL.Services.Interfaces.Job;
using PARR.DAL.Services.Interfaces.Unit;
namespace PARR.DAL.Tests.DomainServices.Implementations
{
@@ -12,10 +12,10 @@ namespace PARR.DAL.Tests.DomainServices.Implementations
{
private readonly Mock<ILogger<ShortcodesService>> loggerMock = new();
private readonly Mock<SettingsFromDb> settingsMock = new();
private readonly Mock<IJobService> jobServiceMock = new();
private readonly Mock<IUnitService> unitServiceMock = new();
private readonly Mock<IUnitInValueService> unitInValueServiceMock = new();
private readonly Mock<IUnitFieldService> unitFieldServiceMock = new();
private readonly Mock<IJobRepository> jobServiceMock = new();
private readonly Mock<IUnitRepository> unitServiceMock = new();
private readonly Mock<IUnitInValueRepository> unitInValueServiceMock = new();
private readonly Mock<IUnitFieldRepository> unitFieldServiceMock = new();
private readonly Mock<IUnitFilterService> unitFilterServiceMock = new();
[Fact]