public async Task <IActionResult> GetPacienteByUserId(int usuarioId) { try { var results = await _pac.GetPacienteAsyncByUsuarioId(usuarioId); return(Ok(results)); } catch (System.Exception ex) { return(this.StatusCode(StatusCodes.Status500InternalServerError, "Falha no Banco de dados")); } }