public LoginWebUserApiController( IGenerateUserResetPassword generateUserResetPassword, IWebUserResetPasswordUrlFactory userResetPasswordUrlFactory, IWebAuthenticateUser authenticateWebUser) { GenerateUserResetPassword = generateUserResetPassword; UserResetPasswordUrlFactory = userResetPasswordUrlFactory; AuthenticateWebUser = authenticateWebUser; }
public AnalyticsViewModel( IItemReferences itemReferences, IIsEntitledProducItemContext isEntitledProductItemContext, IArticleSearch articleSearch, ISiteSettings siteSettings, IAuthenticatedUserContext authenticatedUserContext, IUserCompanyContext userCompanyContext, IUserProfileContext userProfileContext, IUserSubscriptionsContext userSubscriptionsContext, IWebAuthenticateUser webAuthenticateUser, IUserEntitlementsContext userEntitlementsContext, IUserIpAddressContext userIpAddressContext, ISiteRootContext siteRootContext, IHttpContextProvider httpContextProvider, IDCDReader dcdReader, ITaxonomyService taxonomyService, IGlobalSitecoreService globalService, IRecaptchaService recaptchaSettings) { ItemReferences = itemReferences; IsEntitledProductItemContext = isEntitledProductItemContext; ArticleSearch = articleSearch; SiteSettings = siteSettings; AuthenticatedUserContext = authenticatedUserContext; UserCompanyContext = userCompanyContext; UserProfileContext = userProfileContext; UserSubscriptionsContext = userSubscriptionsContext; WebAuthenticateUser = webAuthenticateUser; UserEntitlementsContext = userEntitlementsContext; UserIpAddressContext = userIpAddressContext; SiteRootContext = siteRootContext; HttpContextProvider = httpContextProvider; DcdReader = dcdReader; EntitlementType = GetEntitlementType(UserCompanyContext); UserEntitlements = GetUserEntitlements(); SubscribedProducts = GetSubscribedProducts(); OpportunityLineItemIds = GetOpportunityLineItemIds(); OpportunityIds = GetOpportunityIds(); TaxonomyService = taxonomyService; GlobalService = globalService; RecaptchaSettings = recaptchaSettings; }