public AccountController() { _userService = new UserService(); _securityQuestionService = new SecurityQuestionService(); _roleService = new RoleService(); logService = new LogService(); }
public UserService(UserManager <ApplicationUser> userManager, ISecurityQuestionService securityQuestionService, ILogger <UserService> logger) { _userManager = userManager; _securityQuestionService = securityQuestionService; _logger = logger; }
public SecurityController( IUserService userService, ISecurityQuestionService securityQuestionService, ISecurityAnswerService securityAnswerService, ILogger logger) : base(logger) { this._userService = userService; this._securityQuestionService = securityQuestionService; this._securityAnswerService = securityAnswerService; }
public PasswordController( IUserService userService, IPasswordHistoryService passwordHistoryService, ISecurityQuestionService securityQuestionService, ISecurityAnswerService securityAnswerService, ILogger logger) : base(logger) { this._userService = userService; this._passwordHistoryService = passwordHistoryService; this._securityQuestionService = securityQuestionService; this._securityAnswerService = securityAnswerService; }
public ResetPasswordController(ISecurityQuestionService securityQuestionService, IUserService userService) { _securityQuestionService = securityQuestionService; _userService = userService; }
public void SetUp() { _securityQuestionRepository = new Mock <ISecurityQuestionRepository>(); _securityQuestionService = new SecurityQuestionService(_securityQuestionRepository.Object); }
public MyController() { userService = new UserService(); securityQuestionService = new SecurityQuestionService(); }
public SecurityQuestionController() { _securityQuestionService = new SecurityQuestionService(); }
public RegistrationService(IUserService userService, ISecurityQuestionService securityQuestionService, ILogger <RegistrationService> logger) { _userService = userService; _securityQuestionService = securityQuestionService; _logger = logger; }
public SecurityQuestionsController(ISecurityQuestionService securityQuestionService) { _securityQuestionService = securityQuestionService; }