using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using PARR.DAL.Context; using PARR.DAL.Models.AIHIT; using PARR.DAL.Services.Abstracts; using PARR.DAL.Services.Interfaces.AIHIT; namespace PARR.DAL.Services.Implementations.AIHIT { internal class SettingService : BaseService, ISettingService { private readonly DataContext dataContext; private readonly ILogger logger; public SettingService(DataContext dataContext, ILogger logger) : base(logger) { this.dataContext = dataContext; this.logger = logger; } protected override DbSet EntitySet => dataContext.Settings; protected override DataContext EntitiContext => dataContext; } }