feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.Core.Repositories.Interfaces;
|
||||
using PARR.Core.Repositories.Interfaces.Job;
|
||||
using PARR.Core.Repositories.Interfaces.Unit;
|
||||
using PARR.DAL.Extensions;
|
||||
using PARR.DAL.Models;
|
||||
using PARR.DAL.NextRunServices;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
using PARR.DAL.Services.Interfaces.Job;
|
||||
using PARR.DAL.Services.Interfaces.Unit;
|
||||
using PARR.Domain.Common.Rabbit.Messages;
|
||||
using PARR.Domain.Entities;
|
||||
using PARR.Domain.Enums;
|
||||
|
||||
namespace PARR.TemplateUpdater.Services
|
||||
@@ -14,18 +14,18 @@ namespace PARR.TemplateUpdater.Services
|
||||
internal class TemplateUpdaterService : ITemplateUpdaterService
|
||||
{
|
||||
private readonly ILogger<TemplateUpdaterService> logger;
|
||||
private readonly ITemplateService templateService;
|
||||
private readonly IJobService jobService;
|
||||
private readonly IUnitService unitService;
|
||||
private readonly IRobotConfigurationService robotConfigurationService;
|
||||
private readonly ITemplateRepository templateService;
|
||||
private readonly IJobRepository jobService;
|
||||
private readonly IUnitRepository unitService;
|
||||
private readonly IRobotConfigurationRepository robotConfigurationService;
|
||||
private readonly INextRunService nextRunService;
|
||||
|
||||
public TemplateUpdaterService(
|
||||
ILogger<TemplateUpdaterService> logger,
|
||||
ITemplateService templateService,
|
||||
IJobService jobService,
|
||||
IUnitService unitService,
|
||||
IRobotConfigurationService robotConfigurationService,
|
||||
ITemplateRepository templateService,
|
||||
IJobRepository jobService,
|
||||
IUnitRepository unitService,
|
||||
IRobotConfigurationRepository robotConfigurationService,
|
||||
INextRunService nextRunService
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user