Exemplo n.º 1
0
        public async Task <IActionResult> Activate([FromQuery(Name = "email")] string email, [FromQuery(Name = "encriptedUsername")] string encriptedUsername)
        {
            IOperationResult <bool> createResult = await _systemUserManager.Activate(email, encriptedUsername);

            if (!createResult.Success)
            {
                return(BadRequest(createResult.Message));
            }

            return(Redirect("https://localhost:44336/"));
        }