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