public ContactInfoApiController(
     IAuthenticatedUserContext userContext,
     IManageAccountInfo accountInfo,
     ITextTranslator textTranslator,
     IUserProfileContext profileContext)
 {
     UserContext    = userContext;
     AccountInfo    = accountInfo;
     TextTranslator = textTranslator;
     ProfileContext = profileContext;
 }
示例#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;
 }