public GetAllCompletedDeliveriesQueryHandler(ICompletedDeliveryRepository completedDeliveryRepository, IMapper mapper, ILogger <GetAllCompletedDeliveriesQueryHandler> logger) { _completedDeliveryRepository = completedDeliveryRepository; _mapper = mapper; _logger = logger; }
public RedeemDeliveryCommandHandler(IActiveDeliveryRepository activeDeliveryRepository, IBookStockRepository bookStockRepository, ICompletedDeliveryRepository completedDeliveryRepository, ILogger <RedeemDeliveryCommandHandler> logger) { _activeDeliveryRepository = activeDeliveryRepository; _bookStockRepository = bookStockRepository; _completedDeliveryRepository = completedDeliveryRepository; _logger = logger; }