fix Синхронизации
This commit is contained in:
23
PARR.DAL/Services/Implementations/AIHIT/SettingService.cs
Normal file
23
PARR.DAL/Services/Implementations/AIHIT/SettingService.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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<Setting>, ISettingService
|
||||
{
|
||||
private readonly DataContext dataContext;
|
||||
private readonly ILogger<SettingService> logger;
|
||||
public SettingService(DataContext dataContext, ILogger<SettingService> logger) : base(logger)
|
||||
{
|
||||
this.dataContext = dataContext;
|
||||
this.logger = logger;
|
||||
}
|
||||
|
||||
protected override DbSet<Setting> EntitySet => dataContext.Settings;
|
||||
protected override DataContext EntitiContext => dataContext;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user