private void InitialiseData(IPlayerMatchViewModel playerMatchViewModel) { _playerMatchViewModel = playerMatchViewModel; _teams = _footballRepository.GetTeams(); _config = _footballRepository.GetConfig(); _smtpData = InitialiseSmtpData(); }
public IMailer CreateInstance(SmtpData smtpData, IMailHelper mailHelper) { return new Mailer(smtpData, mailHelper); }
public IMailer CreateInstance(SmtpData smtpData, IMailHelper mailHelper) { return new FakeMailer(true); }
public Mailer(SmtpData smtpData, IMailHelper mailHelper) { _smtpData = smtpData; _mailHelper = mailHelper; }