public AuthenticationController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IUserRepository userRepository, IUserValidatorService userValidatorService, ITokenGeneratorService tokenGeneratorService, IOptions <TokenOptions> tokens, ILogger <AuthenticationController> logger) : base(userManager, logger) { _signInManager = signInManager; _userRepository = userRepository; _tokenOptions = tokens.Value; _userValidatorService = userValidatorService; _tokenGeneratorService = tokenGeneratorService; }
public UserController(IUserService userService, IUserValidatorService userValidatorService) { _userService = userService; _userValidatorService = userValidatorService; }