コード例 #1
0
        public async Task <IActionResult> ValidateChangePasswordRequest([FromRoute] Guid changePasswordId)
        {
            var result = await _accountsManager.CheckIfChangePasswordRequestIsValid(changePasswordId);

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

            return(Ok());
        }