feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -3,7 +3,7 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using PARR.Core.Common.Interfaces;
|
||||
using PARR.Core.Common.Interfaces.RabbitServices;
|
||||
using PARR.DAL.Services.Interfaces.Job;
|
||||
using PARR.Core.Repositories.Interfaces.Job;
|
||||
using PARR.Domain.Common.Rabbit.Messages;
|
||||
using PARR.NextRun.Services;
|
||||
using PARR.NextRun.Settings;
|
||||
@@ -93,7 +93,7 @@ namespace PARR.NextRun
|
||||
{
|
||||
using (var scope = serviceProvider.CreateScope())
|
||||
{
|
||||
var jobGroupService = scope.ServiceProvider.GetRequiredService<IJobGroupService>();
|
||||
var jobGroupService = scope.ServiceProvider.GetRequiredService<IJobGroupRepository>();
|
||||
|
||||
return await jobGroupService.Get().AnyAsync(t => t.Id == jobGroupId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user