public RandomCatalogItemsRequestEventHandler(ILogger <RandomCatalogItemsRequestEventHandler> logger, ICatalogItemsRepository catalogItemsRepository, IEventBus eventBus, IMapper mapper) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _catalogItemsRepository = catalogItemsRepository; _eventBus = eventBus; _mapper = mapper; }
public CatalogItemsController(ICatalogItemsRepository catalogItemsRepository, IMapper mapper) { _catalogItemsRepository = catalogItemsRepository; _mapper = mapper; }
public CatalogItemDeletedConsumer(ICatalogItemsRepository repository) { this.repository = repository; }
public ItemsController(IInventoryItemsRepository inventoryItemsRepository, ICatalogItemsRepository catalogItemsRepository) { this.inventoryItemsRepository = inventoryItemsRepository; this.catalogItemsRepository = catalogItemsRepository; }
public CatalogItemsController(ICatalogItemsRepository catalogItemsRepository) { this.catalogItemsRepository = catalogItemsRepository; }
public CatalogItemsService(ICatalogItemsRepository catalogItemsRepository, ILoggerFactory loggerFactory) { _catalogItemsRepository = catalogItemsRepository; _logger = loggerFactory.CreateLogger <CatalogItemsService>(); }