public GiftVipCommand( IGiftVipRepository giftVipRepository, ICheckUserHasVipsQuery checkUserHasVipsQuery ) { _giftVipRepository = giftVipRepository; _checkUserHasVipsQuery = checkUserHasVipsQuery; }
public VipService( IGiftVipCommand giftVipCommand, IRefundVipCommand refundVipCommand, ICheckUserHasVipsQuery checkUserHasVipsQuery, IUseVipCommand useVipCommand, IUseSuperVipCommand useSuperVipCommand, IModGiveVipCommand modGiveVipCommand, IGetUsersGiftedVipsQuery getUsersGiftedVipsQuery, IGetUserVipCountQuery getUserVipCountQuery, IGiveSubscriptionVipsCommand giveSubscriptionVipsCommand, IUpdateTotalBitsCommand updateTotalBitsCommand, IGetUserByteCountQuery getUserByteCountQuery, IConvertBytesCommand convertBytesCommand, IConvertAllBytesCommand convertAllBytesCommand, IGiveGiftSubBytesCommand giveGiftSubBytesCommand, IConfigService configService, ISignalRService signalRService, IClientIdService clientIdService, ILogger <IVipService> logger) { _giftVipCommand = giftVipCommand; _refundVipCommand = refundVipCommand; _checkUserHasVipsQuery = checkUserHasVipsQuery; _useVipCommand = useVipCommand; _useSuperVipCommand = useSuperVipCommand; _modGiveVipCommand = modGiveVipCommand; _getUsersGiftedVipsQuery = getUsersGiftedVipsQuery; _getUserVipCountQuery = getUserVipCountQuery; _giveSubscriptionVipsCommand = giveSubscriptionVipsCommand; _updateTotalBitsCommand = updateTotalBitsCommand; _getUserByteCountQuery = getUserByteCountQuery; _convertBytesCommand = convertBytesCommand; _convertAllBytesCommand = convertAllBytesCommand; _giveGiftSubBytesCommand = giveGiftSubBytesCommand; _configService = configService; _signalRService = signalRService; _clientIdService = clientIdService; _logger = logger; }