Exemplo n.º 1
0
        public IActionResult Activate(string userId, string token)
        {
            Patient patient = _registrationService.ActivateAccount(userId, token);

            if (patient == null)
            {
                return(BadRequest());
            }

            return(Ok("Login Page"));
        }