AccountController accountController = new AccountController(_authenticationService, _translationService, _workContext, _customerService, _groupService, _userFieldService, _customerManagerService, _countryService, _mediator, _messageProviderService, _captchaSettings, _customerSettings);
await accountController.Register(model, returnUrl, captchaValid, form, customerAttributeParser);
But a runtime error happen which say "HttpContext" is null. (in AccountController.cs Line 486)
please help me to fix it.
thanks