2026-04-14 09:56:31 +10:00
|
|
|
|
using Microsoft.Extensions.Logging;
|
2025-06-25 14:17:34 +10:00
|
|
|
|
using PARR.DAL.Context;
|
|
|
|
|
|
using PARR.DAL.Models.Job;
|
2026-04-14 09:56:31 +10:00
|
|
|
|
using PARR.DAL.Repositories.Base;
|
2025-06-25 14:17:34 +10:00
|
|
|
|
using PARR.DAL.Services.Interfaces.Job;
|
|
|
|
|
|
|
|
|
|
|
|
namespace PARR.DAL.Services.Implementations.Job
|
|
|
|
|
|
{
|
2026-04-14 09:56:31 +10:00
|
|
|
|
internal class JobGroupService : BaseRepository<Models.Job.JobGroup>, IJobGroupService
|
2025-06-25 14:17:34 +10:00
|
|
|
|
{
|
2026-04-14 09:56:31 +10:00
|
|
|
|
public JobGroupService(DataContext dataContext, ILogger<JobGroupService> logger) : base(logger, dataContext) { }
|
2026-01-23 16:18:56 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void DeleteDistributionConfig(JobGroupDistributionConfig distributionConfig)
|
|
|
|
|
|
{
|
2026-04-14 09:56:31 +10:00
|
|
|
|
EntityContext.JobGroupDistributionConfigs.Remove(distributionConfig);
|
2026-01-23 16:18:56 +10:00
|
|
|
|
}
|
2025-06-25 14:17:34 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|