public IActionResult Verify([FromBody] ApplicationUser user) { if (user == null) { return(BadRequest()); } if (_userRepository.CheckVerifycode(user.phone, user.code)) { return(StatusCode(200)); } else { return(BadRequest()); } }