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