Exemplo n.º 1
0
        public EmailManager(ISettingsMasterRepository settingsMaseterRepository, IUserEmailsRepository userEmailsRepository)
        {
            _settingsMaseterRepository = settingsMaseterRepository;
            _userEmailsRepository      = userEmailsRepository;

            Host       = settingsMaseterRepository.GetSettingsValue(SettingMaster.SendUnoReplyEmailHost).Result;
            PortNumber = Convert.ToInt32(settingsMaseterRepository.GetSettingsValue(SettingMaster.EndNoReplyEmailPortNumber).Result);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SecurityManager"/> class.
 /// </summary>
 /// <param name="configuration">The configuration.</param>
 public SecurityManager(IConfiguration configuration, ISettingsMasterRepository settingsMaseterRepository)
 {
     _configuration             = configuration;
     _settingsMaseterRepository = settingsMaseterRepository;
 }
Exemplo n.º 3
0
 public EmailManager(ISettingsMasterRepository settingsMaseterRepository)
 {
     _settingsMaseterRepository = settingsMaseterRepository;
 }