public InventoryItemCreatedEventHandler(IAutomapHelper automapHelper, IQueryFactory queryFactory, IInventoryItemRepository inventoryItemRepository, IInventoryItemSummaryRepository inventoryItemSummaryRepository) { AutomapHelper = automapHelper; QueryFactory = queryFactory; InventoryItemRepository = inventoryItemRepository; InventoryItemSummaryRepository = inventoryItemSummaryRepository; }
public InventoryItemService(ICommandSender <ISingleSignOnToken> commandSender, IUnitOfWorkService unitOfWorkService, IQueryFactory queryFactory, IAuthenticationTokenHelper <ISingleSignOnToken> authenticationTokenHelper, ICorrolationIdHelper corrolationIdHelper, IInventoryItemRepository inventoryItemRepository, IInventoryItemSummaryRepository inventoryItemSummaryRepository) { CommandSender = commandSender; UnitOfWorkService = unitOfWorkService; QueryFactory = queryFactory; AuthenticationTokenHelper = authenticationTokenHelper; CorrolationIdHelper = corrolationIdHelper; InventoryItemRepository = inventoryItemRepository; InventoryItemSummaryRepository = inventoryItemSummaryRepository; }