Shortcut added for get methods.
This commit is contained in:
		
							parent
							
								
									f026de60cf
								
							
						
					
					
						commit
						7608b53b89
					
				@ -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