20 lines
637 B
C#
20 lines
637 B
C#
using Microsoft.Extensions.Logging;
|
|
using PARR.DAL.Context;
|
|
using PARR.DAL.Models.Job;
|
|
using PARR.DAL.Repositories.Base;
|
|
using PARR.DAL.Services.Interfaces.Job;
|
|
|
|
namespace PARR.DAL.Services.Implementations.Job
|
|
{
|
|
internal class JobGroupService : BaseRepository<Models.Job.JobGroup>, IJobGroupService
|
|
{
|
|
public JobGroupService(DataContext dataContext, ILogger<JobGroupService> logger) : base(logger, dataContext) { }
|
|
|
|
|
|
public void DeleteDistributionConfig(JobGroupDistributionConfig distributionConfig)
|
|
{
|
|
EntityContext.JobGroupDistributionConfigs.Remove(distributionConfig);
|
|
}
|
|
}
|
|
}
|