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