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; }