feat(dal): добавлена таблица UnitRegionalEkPtkGroups, добавлен сервис IUnitRegionalEkPtkGroupService
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Models.Unit;
|
||||
using PARR.DAL.Services.Interfaces.Unit;
|
||||
|
||||
namespace PARR.DAL.Services.Implementations.Unit
|
||||
{
|
||||
internal class UnitRegionalEkPtkGroupService : IUnitRegionalEkPtkGroupService
|
||||
{
|
||||
private readonly DataContext dataContext;
|
||||
|
||||
public UnitRegionalEkPtkGroupService(DataContext dataContext)
|
||||
{
|
||||
this.dataContext = dataContext;
|
||||
}
|
||||
|
||||
public IQueryable<UnitRegionalEkPtkGroup> Get()
|
||||
{
|
||||
return dataContext.UnitRegionalEkPtkGroups;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using PARR.DAL.Models.Unit;
|
||||
|
||||
namespace PARR.DAL.Services.Interfaces.Unit
|
||||
{
|
||||
public interface IUnitRegionalEkPtkGroupService
|
||||
{
|
||||
IQueryable<UnitRegionalEkPtkGroup> Get();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user