示例#1
0
 public AccountController(IAuthService authService, IChangePasswordService changePasswordService, IConfirmAccountService confirmAccountService,
                          ILogger <AccountController> logger, ICacheService cacheService, IReCaptchaValidation reCaptchaValidation)
 {
     _authService           = authService;
     _changePasswordService = changePasswordService;
     _confirmAccountService = confirmAccountService;
     _logger              = logger;
     _cacheService        = cacheService;
     _reCaptchaValidation = reCaptchaValidation;
 }
 public AccountController(ILogger <AccountController> logger, ILoginUserService loginUserService, ILogoutUserService logoutUserService, IRegisterUserService registerUserService, IConfirmAccountService confirmAccountService, ISendEmailConfirmationService sendEmailConfirmationService, IListUserService listUserService, IUpdateUserService updateUserService, IResetPasswordService resetPasswordService)
 {
     _logger                       = logger;
     _listUserService              = listUserService;
     _loginUserService             = loginUserService;
     _logoutUserService            = logoutUserService;
     _updateUserService            = updateUserService;
     _registerUserService          = registerUserService;
     _confirmAccountService        = confirmAccountService;
     _sendEmailConfirmationService = sendEmailConfirmationService;
     _resetPasswordService         = resetPasswordService;
 }