Esempio n. 1
0
        public async Task <IActionResult> ForgotPasswordAsync([FromBody] string email)
        {
            bool createActiveCode = await _accountManager.CreateActiveCodeAsync(email);

            if (createActiveCode)
            {
                return(Ok("Success"));
            }
            return(Conflict("Invalid Email"));
        }