26 lines
899 B
C#
26 lines
899 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.Extensions.Logging;
|
|
using PARR.DAL.Context;
|
|
using PARR.DAL.Models.V1;
|
|
using PARR.DAL.Services.Abstracts;
|
|
using PARR.DAL.Services.Interfaces.V1;
|
|
|
|
namespace PARR.DAL.Services.Implementations.V1
|
|
{
|
|
internal class V1_ApplicationInHostService : BaseService<V1_ApplicationInHost>, V1_IApplicationInHostService
|
|
{
|
|
private readonly DataContext dataContext;
|
|
private readonly ILogger<V1_ApplicationInHostService> logger;
|
|
|
|
public V1_ApplicationInHostService(DataContext dataContext, ILogger<V1_ApplicationInHostService> logger) : base(logger)
|
|
{
|
|
this.dataContext = dataContext;
|
|
this.logger = logger;
|
|
}
|
|
|
|
protected override DbSet<V1_ApplicationInHost> EntitySet => dataContext.V1_ApplicationsInHosts;
|
|
|
|
protected override DataContext EntitiContext => dataContext;
|
|
}
|
|
}
|