public ActionResult DeleteStep(int id) { try { WorkflowService.DeleteWorkflowStep(id); return(Json("OK")); } catch (Exception ex) { Log.Error(ex); return(Json(new { error = ex.Message })); } }