public EarnRulesController(
     ICampaignClient campaignClient,
     IBonusEngineClient bonusEngineClient,
     IRequestContext requestContext,
     IEligibilityEngineClient eligibilityEngineClient,
     ISettingsService settingsService,
     IPartnerManagementClient partnerManagementClient,
     IStakingClient stakingClient,
     IReferralClient referralClient,
     IOperationsHistoryClient operationsHistoryClient,
     IMapper mapper)
 {
     _campaignClient          = campaignClient;
     _bonusEngineClient       = bonusEngineClient;
     _requestContext          = requestContext;
     _eligibilityEngineClient = eligibilityEngineClient;
     _settingsService         = settingsService;
     _partnerManagementClient = partnerManagementClient;
     _referralClient          = referralClient;
     _stakingClient           = stakingClient;
     _operationsHistoryClient = operationsHistoryClient;
     _mapper = mapper;
 }
 public ReferralService(
     IReferralClient referralClient,
     ICampaignClient campaignClient,
     IBonusEngineClient bonusEngineClient,
     IStakingClient stakingClient,
     IPartnerManagementClient partnerManagementClient,
     IEligibilityEngineClient eligibilityEngine,
     ISettingsService settingsService,
     IOperationsHistoryClient operationsHistoryClient,
     ILogFactory logFactory,
     IMapper mapper)
 {
     _referralClient          = referralClient;
     _eligibilityEngine       = eligibilityEngine;
     _settingsService         = settingsService;
     _campaignClient          = campaignClient;
     _bonusEngineClient       = bonusEngineClient;
     _stakingClient           = stakingClient;
     _partnerManagementClient = partnerManagementClient;
     _mapper = mapper;
     _operationsHistoryClient = operationsHistoryClient;
     _log = logFactory.CreateLog(this);
 }