public PreferencesApiController(
     IUpdateOfferUserOptInContext offersOptIn,
     IUpdateSiteNewsletterUserOptIn updateSiteNewsletterOptIn,
     ISiteNewsletterUserOptedInContext newsletterOptedInContext,
     ISetPublicationsNewsletterUserOptIns setNewsletterUserOptInsContext,
     IFindUserProfileByUsername findUserProfile)
 {
     OffersOptIn = offersOptIn;
     UpdateSiteNewsletterOptIn      = updateSiteNewsletterOptIn;
     NewsletterOptedInContext       = newsletterOptedInContext;
     SetNewsletterUserOptInsContext = setNewsletterUserOptInsContext;
     FindUserProfile = findUserProfile;
 }
Esempio n. 2
0
 public RegistrationApiController(
     IFindUserByEmail findUser,
     INewUserFactory newUserFactory,
     IWebRegisterUser registerUser,
     IWebSetOptInsRegisterUser setOptInsRegisterUser,
     IManageAccountInfo accountInfo,
     IUserOrder userOrder,
     IUserCompanyContext userCompanyContext,
     ISetPublicationsNewsletterUserOptIns setNewsletterUserOptInsContext,
     IUpdateOfferUserOptInContext offersOptIn)
 {
     FindUser                       = findUser;
     NewUserFactory                 = newUserFactory;
     RegisterUser                   = registerUser;
     SetOptInsRegisterUser          = setOptInsRegisterUser;
     UserCompanyContext             = userCompanyContext;
     AccountInfo                    = accountInfo;
     UserOrder                      = userOrder;
     SetNewsletterUserOptInsContext = setNewsletterUserOptInsContext;
     OffersOptIn                    = offersOptIn;
 }