Shortcut added for get methods.
This commit is contained in:
		
							parent
							
								
									f026de60cf
								
							
						
					
					
						commit
						7608b53b89
					
				@ -4,13 +4,7 @@ public class BuyerRepository
 | 
			
		||||
    : IBuyerRepository
 | 
			
		||||
{
 | 
			
		||||
    private readonly OrderingContext _context;
 | 
			
		||||
    public IUnitOfWork UnitOfWork
 | 
			
		||||
    {
 | 
			
		||||
        get
 | 
			
		||||
        {
 | 
			
		||||
            return _context;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    public IUnitOfWork UnitOfWork => _context;
 | 
			
		||||
 | 
			
		||||
    public BuyerRepository(OrderingContext context)
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
@ -5,13 +5,7 @@ public class OrderRepository
 | 
			
		||||
{
 | 
			
		||||
    private readonly OrderingContext _context;
 | 
			
		||||
 | 
			
		||||
    public IUnitOfWork UnitOfWork
 | 
			
		||||
    {
 | 
			
		||||
        get
 | 
			
		||||
        {
 | 
			
		||||
            return _context;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    public IUnitOfWork UnitOfWork => _context;
 | 
			
		||||
 | 
			
		||||
    public OrderRepository(OrderingContext context)
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user