24 lines
743 B
C#
24 lines
743 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.Extensions.Logging;
|
|
using PARR.DAL.Context;
|
|
using PARR.DAL.Models;
|
|
using PARR.DAL.Services.Abstracts;
|
|
using PARR.DAL.Services.Interfaces;
|
|
|
|
namespace PARR.DAL.Services.Implementations
|
|
{
|
|
internal class JobAutoControlService : BaseService<JobAutoControl>, IJobAutoControlService
|
|
{
|
|
private readonly DataContext dataContext;
|
|
|
|
protected override DbSet<JobAutoControl> EntitySet => dataContext.JobAutoControls;
|
|
|
|
protected override DataContext EntitiContext => dataContext;
|
|
|
|
public JobAutoControlService(DataContext dataContext, ILogger<JobAutoControlService> logger) : base(logger)
|
|
{
|
|
this.dataContext = dataContext;
|
|
}
|
|
}
|
|
}
|