2026-07-03 11:17:48 +10:00
|
|
|
|
using PARR.Core.Repositories.Interfaces.JobRepositories;
|
2026-04-30 10:35:31 +10:00
|
|
|
|
using PARR.DAL.Context;
|
2026-07-03 11:17:48 +10:00
|
|
|
|
using PARR.Domain.Entities.JobEntities;
|
2026-04-30 10:35:31 +10:00
|
|
|
|
|
|
|
|
|
|
namespace PARR.DAL.Repositories.Job
|
|
|
|
|
|
{
|
|
|
|
|
|
internal class JobAutoControlRepository : IJobAutoControlRepository
|
|
|
|
|
|
{
|
|
|
|
|
|
private readonly DataContext dataContext;
|
|
|
|
|
|
|
|
|
|
|
|
public JobAutoControlRepository(DataContext dataContext)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.dataContext = dataContext;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public IQueryable<JobAutoControl> Get()
|
|
|
|
|
|
{
|
|
|
|
|
|
return dataContext.JobAutoControls;
|
|
|
|
|
|
}
|
2026-06-18 16:39:35 +10:00
|
|
|
|
|
|
|
|
|
|
public void RemoveRange(List<JobAutoControl> autoControlList)
|
|
|
|
|
|
{
|
|
|
|
|
|
dataContext.JobAutoControls.RemoveRange(autoControlList);
|
|
|
|
|
|
}
|
2026-04-30 10:35:31 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|