old branch
This commit is contained in:
parent
184a54304e
commit
1ef63a1a4e
@ -4,7 +4,13 @@ public class BuyerRepository
|
|||||||
: IBuyerRepository
|
: IBuyerRepository
|
||||||
{
|
{
|
||||||
private readonly OrderingContext _context;
|
private readonly OrderingContext _context;
|
||||||
public IUnitOfWork UnitOfWork => _context;
|
public IUnitOfWork UnitOfWork
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return _context;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public BuyerRepository(OrderingContext context)
|
public BuyerRepository(OrderingContext context)
|
||||||
{
|
{
|
||||||
|
@ -5,7 +5,13 @@ public class OrderRepository
|
|||||||
{
|
{
|
||||||
private readonly OrderingContext _context;
|
private readonly OrderingContext _context;
|
||||||
|
|
||||||
public IUnitOfWork UnitOfWork => _context;
|
public IUnitOfWork UnitOfWork
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return _context;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public OrderRepository(OrderingContext context)
|
public OrderRepository(OrderingContext context)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user