public ActionResult EditarWorkflow([FromBody] Models.Workflow inputs) { try { _serv.EditarWorkflow(inputs); return(Ok()); } catch (Exception ex) { return(BadRequest($"Ocorreu um erro ao editar o Workflow {inputs.IdWorkflow}: {ex.Message}")); } }