feat: Из dal перенесены все модели в Domain. Из dal переименованы service в repository, вынесены в Core.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using PARR.Core.Repositories.Interfaces.Unit;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.Domain.Entities.Unit;
|
||||
|
||||
namespace PARR.DAL.Repositories.Unit
|
||||
{
|
||||
internal class UnitRegionalEkPtkGroupRepository : IUnitRegionalEkPtkGroupRepository
|
||||
{
|
||||
private readonly DataContext dataContext;
|
||||
|
||||
public UnitRegionalEkPtkGroupRepository(DataContext dataContext)
|
||||
{
|
||||
this.dataContext = dataContext;
|
||||
}
|
||||
|
||||
public IQueryable<UnitRegionalEkPtkGroup> Get()
|
||||
{
|
||||
return dataContext.UnitRegionalEkPtkGroups;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user