public IActionResult Invite(Presenca convite) { try { banco.Convidar(convite); return(StatusCode(201)); } catch (Exception error) { return(BadRequest(error)); } }
public IActionResult Invite(Presenca convite) { try { banco.Convidar(convite); return(StatusCode(201)); } catch (Exception error) { return(BadRequest(error)); } }