Beispiel #1
0
 public InMemoryOrderRepositoryAdapter(IOrderInMemoryRepository orderRepository,
                                       IInventoryInMemoryRepository inventoryRepository, IArticleInMemoryRepository articleRepository,
                                       IBuyerInMemoryRepository buyerRepository, ILogger <InMemoryOrderRepositoryAdapter> logger)
 {
     _orderRepository     = orderRepository;
     _inventoryRepository = inventoryRepository;
     _articleRepository   = articleRepository;
     _buyerRepository     = buyerRepository;
     _logger = logger;
 }
Beispiel #2
0
 public InMemoryBuyerRepositoryAdapter(IBuyerInMemoryRepository buyerRepository, IOrderInMemoryRepository orderRepository, ILogger <InMemoryBuyerRepositoryAdapter> logger)
 {
     _buyerRepository = buyerRepository;
     _orderRepository = orderRepository;
     _logger          = logger;
 }