Ejemplo n.º 1
0
 public EmailSenderJob(IEmailArchieveService emailArchieveService,
                       MailingHelper mailingHelper,
                       ConfigHelper configHelper,
                       CommonHelper commonHelper)
 {
     _emailArchieveService = emailArchieveService;
     _mailing = mailingHelper;
     _config  = configHelper;
     _common  = commonHelper;
 }
Ejemplo n.º 2
0
 public UserHelper(UserManager <ApplicationUser> userManager,
                   RoleManager <ApplicationRole> roleManager,
                   IUserService userService,
                   IUserProfileService userProfile,
                   IEmailArchieveService mail,
                   ISrfRequestService srf,
                   ICandidateInfoService candidate,
                   ConfigHelper configHelper)
 {
     _userManager  = userManager;
     _roleManager  = roleManager;
     _userService  = userService;
     _configHelper = configHelper;
     _userProfile  = userProfile;
     _email        = mail;
     _srf          = srf;
     _candidate    = candidate;
 }
Ejemplo n.º 3
0
 public MailingHelper(ViewRender viewRender,
                      IEmailArchieveService emailArchieveService,
                      IHostingEnvironment env,
                      ConfigHelper config,
                      CommonHelper commonHelper)
 {
     _env                  = env;
     _viewRender           = viewRender;
     _emailArchieveService = emailArchieveService;
     _config               = config;
     _commonHelper         = commonHelper;
     //_smtpUsername = _config.GetConfig("smtp.username");
     //_smtpPassword = _config.GetConfig("smtp.password");
     //_smtpServer = _config.GetConfig("smtp.server");
     //_smtpPort = _config.GetConfigAsInt("smtp.port");
     //_smtpSsl = _config.GetConfigAsBool("smtp.ssl");
     //_smtpRequireAuthentication = _config.GetConfigAsBool("smtp.requires.authentication");
     //_mailerEnabled = _config.GetConfigAsBool("mailer.enabled");
 }