public void Init(EntityApp app) { _emailService = _app.GetService<IEmailSendService>(); Util.Check(_emailService != null, "EmailNotificationProvider: failed to retrieve {0} instance.", typeof(IEmailSendService)); _templateService = _app.GetService<ITemplateTransformService>(); Util.Check(_templateService != null, "EmailNotificationProvider: failed to retrieve {0} instance, add Template module to your app.", typeof(ITemplateTransformService)); }
public UserController(IUserService userService, UserManager <User> userManager, IMapper mapper, IEmailSendService emailSendService) { _userService = userService; _userManager = userManager; _mapper = mapper; _emailSendService = emailSendService; }
public RequestCreationService(IVacationRepository vacations, IVacationStatusTypeRepository vacationStatusTypes, IEmployeeRepository employees, IEmailSendService emailService, IJobTitleRepository jobTitles) { _vacations = vacations; _vacationStatusTypes = vacationStatusTypes; _employees = employees; _emailService = emailService; _jobTitles = jobTitles; }
public EmailService( IContext context, ICurrentUserService currentUserService, IEmailTemplateService emailTemplateService, IAmazonSimpleEmailService simpleEmail, IEmailSendService emailSendService ) : base(context) { this.emailSendService = emailSendService; this.currentUserService = currentUserService; this.emailTemplateService = emailTemplateService; this.simpleEmail = simpleEmail; }
public AuthorisationService(ApplicationContext context, UserManager <User> userManager, GuidSignInManager signInManager, IConfiguration config, IEmailSendService emailService, IHttpContextAccessor httpContextAccessor) { this.context = context; this.userManager = userManager; this.signInManager = signInManager; this.config = config; this.emailService = emailService; this.httpContextAccessor = httpContextAccessor; }
public AddUserCommandHandler(IUnitOfWork unitOfWork, ICommandValidator <AddUser> commandValidator, IEmailSendService emailService, UserManager <User> userManager, GuidSignInManager signInManager, IConfiguration config, IHttpContextAccessor httpContextAccessor) { this.unitOfWork = unitOfWork; this.commandValidator = commandValidator; this.emailService = emailService; this.userManager = userManager; this.signInManager = signInManager; this.config = config; this.httpContextAccessor = httpContextAccessor; }
public RequestService(ITransactionTypeRepository transactionTypes, ITransactionRepository transactions, IJobTitleRepository jobTitles, IEmployeeRepository employees, IVacationRepository vacations, IVacationStatusTypeRepository vacationStatusTypes, IVacationTypeRepository vacationTypes, IUsersRepository users, IEmailSendService sendService) { _jobTitles = jobTitles; _employees = employees; _vacations = vacations; _vacationStatusTypes = vacationStatusTypes; _vacationTypes = vacationTypes; _transactions = transactions; _transactionTypes = transactionTypes; _users = users; _emailService = sendService; }
public AccountService(IFilter <UserLoginFindModel, User> userLoginFilter, ICreate <User> userCreator, IEmailSendService emailService, IFilter <UserConfirmModel, User> userConfirmFilter, IUpdate <User> userUpdater, IFilter <UserMailModel, User> userMailFinder, IFilter <UserResetCodeModel, User> userResetCodeFinder, IFilter <UserByIdModel, User> userByIdFinder, IFilter <UserResetPassModel, User> userResetFinder, Configuration config) { _userCreator = userCreator; _userUpdater = userUpdater; _userLoginFilter = userLoginFilter; _emailService = emailService; _userConfirmFilter = userConfirmFilter; _userMailFinder = userMailFinder; _userResetCodeFinder = userResetCodeFinder; _userByIdFinder = userByIdFinder; _userResetFinder = userResetFinder; _config = config; }
public ThanksMailSenderService(IMailDataRepositories mailDataRepositories, IEmailSendService emailSendService) { MailDataRepositories = mailDataRepositories; EmailSendService = emailSendService; }
public MailService(IUnitOfWork uow, IMapper mapper, IEmailSendService emailSendService) { _mapper = mapper; _unitOfWork = uow; _emailSendService = emailSendService; }
public FactoryServicecs(IMailDataRepositories mailDataRepositories, IEmailSendService emailSendService) { MailDataRepositories = mailDataRepositories; EmailSendService = emailSendService; }
public PrimaryMailSenderService(IMailDataRepositories mailDataRepositories, IEmailSendService emailSendService) { MailDataRepositories = mailDataRepositories; EmailSendService = emailSendService; }
public ValuesController(IPositionService positionService, IEmailSendService emailSendService) { _positionService = positionService; EmailSendService = emailSendService; }