public async Task Register()

in src/Web/Controllers/AccountController.cs [284:302]


        public async Task<IActionResult> Register(RegisterViewModel model, string returnUrl = null)
        {
            if (model == null)
            {
                throw new ArgumentNullException(nameof(model));
            }

            if (!ModelState.IsValid)
            {
                return View(model);
            }

            if (_contextAccessor.HttpContext.Connection == null)
            {
                throw new Exception(nameof(_contextAccessor.HttpContext.Connection));
            }

            return await RegisterUser(model, returnUrl, false);
        }