using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using PARR.DAL.Context;
using PARR.DAL.Models.Job;
using PARR.DAL.Services.Abstracts;
using PARR.DAL.Services.Interfaces.Job;

namespace PARR.DAL.Services.Implementations.Job
{
    internal class JobUnitFilterService : BaseService<JobUnitFilter>, IJobUnitFilterService
    {
        private readonly DataContext dataContext;

        protected override DbSet<JobUnitFilter> EntitySet => dataContext.JobUnitFilters;

        protected override DataContext EntitiContext => dataContext;

        public JobUnitFilterService(DataContext dataContext, ILogger<JobUnitFilterService> logger) : base(logger)
        {
            this.dataContext = dataContext;
        }
    }
}
