feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.Core.Repositories.Interfaces;
|
||||
using PARR.DAL.NextRunServices;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
using PARR.Domain.Common.Rabbit.Messages;
|
||||
using PARR.Domain.Enums;
|
||||
|
||||
@@ -12,15 +12,15 @@ namespace PARR.TemplateDistributor
|
||||
private readonly ILogger<TemplateDistributor> logger;
|
||||
//private readonly INextRunService nextRunService;
|
||||
private readonly INextRunService nextRunService;
|
||||
private readonly ITemplateService templateService;
|
||||
private readonly IRobotConfigurationService robotConfigurationService;
|
||||
private readonly ITemplateRepository templateService;
|
||||
private readonly IRobotConfigurationRepository robotConfigurationService;
|
||||
|
||||
public TemplateDistributor(
|
||||
ILogger<TemplateDistributor> logger,
|
||||
//INextRunService nextRunService,
|
||||
INextRunService nextRunService,
|
||||
ITemplateService templateService,
|
||||
IRobotConfigurationService robotConfigurationService
|
||||
ITemplateRepository templateService,
|
||||
IRobotConfigurationRepository robotConfigurationService
|
||||
)
|
||||
{
|
||||
this.logger = logger;
|
||||
|
||||
Reference in New Issue
Block a user