public AjaxResult LineAdd(string FlowCode, string strNode, string endNode) { int result = dao.LineAdd(FlowCode, strNode, endNode); if (result > 0) { return(AjaxResult.Success()); } else { return(AjaxResult.Error()); } }