public AccountApiController(UsersProvider usersProvider, VerifyProvider verifyProvider, LoginLogProvider loginLogProvider, IHttpContextAccessor accessor, IStringLocalizer <AccountApiController> localizer, EmailUtil email, IOptions <EmailConfig> config) { _userProvider = usersProvider; _verifyProvider = verifyProvider; _loginProvider = loginLogProvider; _accessor = accessor; _localizer = localizer; _email = email; _config = config.Value; }
public AccountController(VerifyProvider verifyProvider, UsersProvider usersProvider, IStringLocalizer <AccountController> localizer) { _verifyProvider = verifyProvider; _usersProvider = usersProvider; _localizer = localizer; }