Merge a4ff4cb8403d7eaaeb7819d90bca112646cf5a30 into f026de60cf1414a751d6e6e529cf0f7b87e1e33c
This commit is contained in:
commit
22db6b2b8f
@ -4,13 +4,7 @@ public class BuyerRepository
|
|||||||
: IBuyerRepository
|
: IBuyerRepository
|
||||||
{
|
{
|
||||||
private readonly OrderingContext _context;
|
private readonly OrderingContext _context;
|
||||||
public IUnitOfWork UnitOfWork
|
public IUnitOfWork UnitOfWork => _context;
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return _context;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public BuyerRepository(OrderingContext context)
|
public BuyerRepository(OrderingContext context)
|
||||||
{
|
{
|
||||||
|
@ -5,13 +5,7 @@ public class OrderRepository
|
|||||||
{
|
{
|
||||||
private readonly OrderingContext _context;
|
private readonly OrderingContext _context;
|
||||||
|
|
||||||
public IUnitOfWork UnitOfWork
|
public IUnitOfWork UnitOfWork => _context;
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return _context;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public OrderRepository(OrderingContext context)
|
public OrderRepository(OrderingContext context)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user