public AccountController(IAccountService accountSrv, IOptions <TokenProviderOptions> tokenOptions, IHostingEnvironment env, IBusClient rawRabbitBus, IOptions <TwilioProviderOptions> twilioOptions, IOptions <FacebookProviderOptions> facebookOptions, IESMSService esmsService, IOptions <EmailTemplate> emailTemplate) { _accountService = accountSrv; _env = env; _tokenOptions = tokenOptions.Value; _rawRabbitBus = rawRabbitBus; _twilioOptions = twilioOptions.Value; _facebookOptions = facebookOptions.Value; _esmsService = esmsService; _emailTemplate = emailTemplate.Value; }
public VerificationController(IVerificationService verificationService, IESMSService esmsService, IAccountService accountService) { _verificationService = verificationService; _esmsService = esmsService; _accountService = accountService; }