25 lines
801 B
C#
25 lines
801 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 JobStatusService : BaseService<JobStatus>, IJobStatusService
|
|
{
|
|
private readonly DataContext dataContext;
|
|
private readonly ILogger<JobStatusService> logger;
|
|
|
|
public JobStatusService(DataContext dataContext, ILogger<JobStatusService> logger) : base(logger)
|
|
{
|
|
this.dataContext = dataContext;
|
|
this.logger = logger;
|
|
}
|
|
protected override DbSet<JobStatus> EntitySet => dataContext.JobStatuses;
|
|
|
|
protected override DataContext EntitiContext => dataContext;
|
|
}
|
|
}
|