public AccountController(
     UserManager <User> userManager,
     IUserServices userServices,
     IAccountServices accountServices,
     IValidateAccount validateAccount,
     IEmailSender emailSender)
 {
     _userManager     = userManager;
     _userServices    = userServices;
     _validateAccount = validateAccount;
     _emailSender     = emailSender;
     _accountServices = accountServices;
 }
示例#2
0
 public AccountHelper(
     IUnitOfWork unitOfWork,
     UserManager <User> userManager,
     IValidateAccount validateAccount,
     IHttpContextAccessor httpContextAccessor,
     IUrlHelperFactory urlHelperFactory,
     IActionContextAccessor actionAccessor
     )
 {
     _unitOfWork          = unitOfWork;
     _userManager         = userManager;
     _validateAccount     = validateAccount;
     _httpContextAccessor = httpContextAccessor;
     _urlHelperFactory    = urlHelperFactory;
     _actionAccessor      = actionAccessor;
 }
 public AdminController(
     UserManager <User> userManager,
     IUnitOfWork unitOfWork,
     IUserServices userServices,
     IAccountServices accountServices,
     IValidateAccount validateAccount,
     IEmailSender emailSender,
     IEmailTemplateService emailTemplateService,
     IAccountHelper accountHelper)
 {
     _userManager          = userManager;
     _unitOfWork           = unitOfWork;
     _userServices         = userServices;
     _validateAccount      = validateAccount;
     _emailSender          = emailSender;
     _accountServices      = accountServices;
     _emailTemplateService = emailTemplateService;
     _accountHelper        = accountHelper;
 }
 public ProjectController(
     UserManager <User> userManager,
     IUnitOfWork unitOfWork,
     IUserServices userServices,
     IAccountServices accountServices,
     IValidateAccount validateAccount,
     IEmailSender emailSender,
     IEmailTemplateService emailTemplateService,
     IEventService eventService,
     IUserResolverService userResolverService,
     IProjectServices projectService)
 {
     _userManager          = userManager;
     _unitOfWork           = unitOfWork;
     _userServices         = userServices;
     _validateAccount      = validateAccount;
     _emailSender          = emailSender;
     _accountServices      = accountServices;
     _emailTemplateService = emailTemplateService;
     _eventService         = eventService;
     _userResolverService  = userResolverService;
     _projectService       = projectService;
 }