Example #1
0
 public AccountController(IUserAccountService userAccountService, ILog log,
                          IForgetPasswordRequestService forgetPasswordRequestService, ISettingService settingService)
 {
     _userAccountService = userAccountService;
     _log = log;
     _forgetPasswordRequestService = forgetPasswordRequestService;
     _settingService = settingService;
 }
Example #2
0
 public AccountController(IUserAccountService userAccountService, ILog log,
                          IForgetPasswordRequestService forgetPasswordRequestService, ISettingService settingService)
 {
     _userAccountService = userAccountService;
     _log = log;
     _forgetPasswordRequestService = forgetPasswordRequestService;
     _settingService = settingService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountController"/> class.
 /// </summary>
 //public AccountController()
 //    : this(new MembershipWrapper(), new FormsAuthenticationWrapper(), null)
 //{
 //}
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountController"/> class.
 /// </summary>
 /// <param name="membershipObject">The membership object.</param>
 /// <param name="formsAuthenticationObject">The forms authentication object.</param>
 /// <param name="urlHelper">The URL helper.</param>
 public AccountController(IMembershipWrapper membershipObject,
                             IFormsAuthenticationWrapper formsAuthenticationObject,
                             IUrlHelperWrapper urlHelper,
                             IUserProfileService userProfileService,
                             IForgetPasswordRequestService forgetPasswordRequestService,
                              ISettingService settingService)
 {
     this.membership = membershipObject;
     this.Url = urlHelper;
     this.authentication = formsAuthenticationObject;
     this._forgetPasswordRequestService = forgetPasswordRequestService;
     this._settingService = settingService;
     this._userProfileService = userProfileService;
 }
Example #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AccountController"/> class.
        /// </summary>
        //public AccountController()
        //    : this(new MembershipWrapper(), new FormsAuthenticationWrapper(), null)
        //{

        //}

        /// <summary>
        /// Initializes a new instance of the <see cref="AccountController"/> class.
        /// </summary>
        /// <param name="membershipObject">The membership object.</param>
        /// <param name="formsAuthenticationObject">The forms authentication object.</param>
        /// <param name="urlHelper">The URL helper.</param>
        public AccountController(IMembershipWrapper membershipObject,
                                 IFormsAuthenticationWrapper formsAuthenticationObject,
                                 IUrlHelperWrapper urlHelper,
                                 IUserProfileService userProfileService,
                                 IForgetPasswordRequestService forgetPasswordRequestService,
                                 ISettingService settingService)
        {
            this.membership     = membershipObject;
            this.Url            = urlHelper;
            this.authentication = formsAuthenticationObject;
            this._forgetPasswordRequestService = forgetPasswordRequestService;
            this._settingService     = settingService;
            this._userProfileService = userProfileService;
        }