/// <summary> /// Contructor /// </summary> public AccountController(UserManager <User> userManager, IConfiguration configuration, IFacebookProvider facebookProvider, IOptions <JwtIssuerOptions> jwtOptions, SignInManager <User> signInManager, IUnitOfWork unitOfWork, IHttpContextAccessor httpCotext, IGooglePlusProvider googleProvider, IEmailSender emailSender) { this.userManager = userManager; this.facebookProvider = facebookProvider; this.signInManager = signInManager; this.unitOfWork = unitOfWork; this.httpCotext = httpCotext; jwtIssuerOptions = jwtOptions.Value; this.googleProvider = googleProvider; this.emailSender = emailSender; }
/// <summary> /// Contructor /// </summary> public AccountController(UserManager <ApplicationUser> userManager, IConfiguration configuration, IFacebookProvider facebookProvider, IOptions <JwtIssuerOptions> jwtOptions, SignInManager <ApplicationUser> signInManager, IUnitOfWork unitOfWork, IHttpContextAccessor httpCotext, IGooglePlusProvider googleProvider, IEmailSender emailSender, IStringLocalizer <ValidationModel> localizerValidation, IStringLocalizer <Account> localizerAccount) { this.userManager = userManager; this.facebookProvider = facebookProvider; this.signInManager = signInManager; this.unitOfWork = unitOfWork; this.httpCotext = httpCotext; jwtIssuerOptions = jwtOptions.Value; this.googleProvider = googleProvider; this.emailSender = emailSender; this.localizerValidation = localizerValidation; this.localizerAccount = localizerAccount; }