public ActionResult ConsultarWorkflow([FromRoute] Guid IdWorkflow) { try { var response = _serv.ConsultarWorkflow(IdWorkflow); return(Ok(response)); } catch (Exception ex) { return(BadRequest($"Ocorreu um erro ao consultar o Workflow {IdWorkflow}: {ex.Message}")); } }