public GiftcodeAppService(ILogger <GiftcodeAppService> logger, IGiftcodeService giftcodeService, IShardingService shardingService, ICurrentContext currentContext) { _logger = logger; _giftcodeService = giftcodeService; _shardingService = shardingService; _currentContext = currentContext; }
public GiftcodeCommandHandler(IEventSender eventSender, IShardingService shardingService, IGiftcodeService giftcodeService) { _eventSender = eventSender; _shardingService = shardingService; _giftcodeService = giftcodeService; }