feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using FluentValidation;
|
||||
using PARR.API.Contracts.V1.Requests;
|
||||
using PARR.DAL.Services.Interfaces;
|
||||
using PARR.DAL.Services.Interfaces.Job;
|
||||
using PARR.Core.Repositories.Interfaces;
|
||||
using PARR.Core.Repositories.Interfaces.Job;
|
||||
using PARR.Domain.Enums;
|
||||
|
||||
namespace PARR.API.Validators
|
||||
@@ -9,9 +9,9 @@ namespace PARR.API.Validators
|
||||
public class TemplateActivatorRequestValidator : AbstractValidator<TemplateActivatorRequest>
|
||||
{
|
||||
public TemplateActivatorRequestValidator(
|
||||
ITemplateService templateService,
|
||||
IJobService jobService,
|
||||
IJobGroupService jobGroupService
|
||||
ITemplateRepository templateService,
|
||||
IJobRepository jobService,
|
||||
IJobGroupRepository jobGroupService
|
||||
)
|
||||
{
|
||||
RuleFor(t => t.EntityType).Must(type =>
|
||||
|
||||
Reference in New Issue
Block a user