コード例 #1
0
        public IActionResult ResetPassword([FromBody] Login login)
        {
            try
            {
                _reset.PasswordReset(login);

                return(StatusCode(StatusCodes.Status200OK));
            }
            catch (Exception E)
            {
                //Console.Write(E);
                _logger.AddLog(E.ToString(), E.GetType().ToString());
                return(StatusCode(StatusCodes.Status400BadRequest));
            }
        }