2026-04-30 10:35:31 +10:00
|
|
|
|
using Microsoft.Extensions.Logging;
|
2026-07-03 11:17:48 +10:00
|
|
|
|
using PARR.Core.Repositories.Interfaces.JobGroupRepositories;
|
2026-04-30 10:35:31 +10:00
|
|
|
|
using PARR.DAL.Context;
|
|
|
|
|
|
using PARR.DAL.Repositories.Base;
|
2026-06-15 16:56:23 +10:00
|
|
|
|
using PARR.Domain.Entities.JobGroupEntities;
|
2026-04-30 10:35:31 +10:00
|
|
|
|
|
2026-07-03 11:17:48 +10:00
|
|
|
|
namespace PARR.DAL.Repositories.JobGroupRepositories
|
2026-04-30 10:35:31 +10:00
|
|
|
|
{
|
|
|
|
|
|
internal class JobGroupRepository : BaseRepository<JobGroup>, IJobGroupRepository
|
|
|
|
|
|
{
|
|
|
|
|
|
public JobGroupRepository(DataContext dataContext, ILogger<JobGroupRepository> logger) : base(logger, dataContext) { }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void DeleteDistributionConfig(JobGroupDistributionConfig distributionConfig)
|
|
|
|
|
|
{
|
|
|
|
|
|
EntityContext.JobGroupDistributionConfigs.Remove(distributionConfig);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|