public void SignupUser(Signup signup)
 {
     try
     {
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#2
0
 public IActionResult Register([FromBody] Signup value)
 {
     try
     {
         _registrationService.SignupUser(value);
         return(Accepted());
     }
     catch (Exception ex)
     {
         _logger.LogError(ex, "Registration failed");
         return(BadRequest());
     }
 }