public TwillioSMSSender(AbstractSMSRepository smsRepository) { _smsRepository = smsRepository; _accountSID = ConfigurationManager.AppSettings["Twilio:AccountSID"]; _authToken = ConfigurationManager.AppSettings["Twilio:AuthToken"]; _outgoingNumber = ConfigurationManager.AppSettings["Twilio:OutgoingNumber"]; _outgoingPhone = new PhoneNumber(_outgoingNumber); TwilioClient.Init(_accountSID, _authToken); }
public TwillioSMSParser(AbstractSMSSender smsSender, UserManager <ApplicationUser, long> userManager, AbstractSMSRepository smsRepository, AbstractTodoListRepository todoListRepository, AbstractTodoTaskRepository todoTaskRepository) { _smsSender = smsSender; _userManager = userManager; _smsRepository = smsRepository; _todoListRepository = todoListRepository; _todoTaskRepository = todoTaskRepository; }
public TestSMSSender(AbstractSMSRepository smsRepository) { _smsRepository = smsRepository; }
public SMSController(AbstractSMSRepository smsRepository, AbstractSMSParser smsParser) { _smsRepository = smsRepository; _smsParser = smsParser; }