示例#1
0
 public CustomerRepository(AlbelliContext context)
 {
     _context = context;
 }
示例#2
0
 public OrderRepository(AlbelliContext context, IProductRepository productRepository, ICustomerRepository customerRepository)
 {
     _context            = context;
     _productRepository  = productRepository;
     _customerRepository = customerRepository;
 }
 public ProductRepository(AlbelliContext context)
 {
     _context = context;
 }