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