public ManagementController(IUserService userService, IBlogApplyService blogApplyService, IDataProtectorUtil dataProtectorUtil, IEmailUtil emailUtil) { this.userService = userService; this.blogApplyService = blogApplyService; this.emailUtil = emailUtil; this.dataProtectorUtil = dataProtectorUtil; }
public AuthManager(IRepository <FXUser> repository, ILogger <AuthManager> log, IConfiguration configuration, IHttpContextAccessor httpContextAccessor, IWalletManager wallet, IEmailUtil mail) { _userrepo = repository ?? throw new ArgumentNullException(nameof(repository)); this.log = log ?? throw new ArgumentNullException(nameof(log)); this.configuration = configuration; _httpContextAccessor = httpContextAccessor; _wallet = wallet; _mail = mail; }
public LeaveRequestController(ILeaveRequestRepository leaveRequestRepository, ILeaveReviewRepository leaveReviewRepository, ILeaveStatusRepository leaveStatusepository, IProjectRepository projectRepository, IEmployeeRepository employeeRepository, ApplicationUserManager userManager, IEmailUtil emailUtil) { _emailUtil = emailUtil; _userManager = userManager; _projectRepository = projectRepository; _leaveRequestRepository = leaveRequestRepository; _leaveReviewRepository = leaveReviewRepository; _leaveStatusRepository = leaveStatusepository; _employeeRepository = employeeRepository; }
public UserService(IUserRepository userRepository, IEmailRepository emailRepository, IEmailUtil emailUtil, IDataProtectorUtil dataProtectorUtil, IBlogApplyRepository blogApplyRepository) { this.userRepository = userRepository; this.emailRepository = emailRepository; this.emailUtil = emailUtil; this.dataProtectorUtil = dataProtectorUtil; this.blogApplyRepository = blogApplyRepository; }
public UserController(IEmailUtil emailUtil, ICaptchaCodeUtil captchaCodeUtil, IInputValidatorUtil inputValidatorUtil, IDataProtectorUtil dataProtectorUtil, IUserService userService, ICookieSettings cookieSettings) { this.emailUtil = emailUtil; this.captchaCodeUtil = captchaCodeUtil; this.inputValidatorUtil = inputValidatorUtil; this.dataProtectorUtil = dataProtectorUtil; this.userService = userService; this.cookieSettings = cookieSettings; }
public UserRepository(IDataRepository <ApplicationUser, PromactOauthDbContext> applicationUserDataRepository, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager, IEmailSender emailSender, IMapper mapperContext, IDataRepository <ProjectUser, PromactOauthDbContext> projectUserRepository, IProjectRepository projectRepository, IOptions <AppSettingUtil> appSettingUtil, IDataRepository <Project, PromactOauthDbContext> projectDataRepository, IStringConstant stringConstant, IDataRepository <ProjectUser, PromactOauthDbContext> projectUserDataRepository, IEmailUtil emailUtil) { _applicationUserDataRepository = applicationUserDataRepository; _userManager = userManager; _emailSender = emailSender; _mapperContext = mapperContext; _projectUserRepository = projectUserRepository; _projectRepository = projectRepository; _roleManager = roleManager; _projectDataRepository = projectDataRepository; _appSettingUtil = appSettingUtil; _stringConstant = stringConstant; _projectUserDataRepository = projectUserDataRepository; _emailUtil = emailUtil; }
public ApplicationController(ISaveApplicant saveApplicant, IProcessApplicants loadApplicants, IEmailUtil emailUtil) { _saveApplicant = saveApplicant; _processApplicant = loadApplicants; _emailUtil = emailUtil; }
public HomeController(IEmailUtil emailUtil) { _emailUtil = emailUtil; }