/// <summary> /// 删除图形绑定线路信息 /// </summary> /// <param name="graphicsrouteinfrequest"></param> /// <returns></returns> public BasicResponse DeleteGraphicsrouteinfForGraphId(DeleteGraphicsrouteinfRequest graphicsrouteinfrequest) { var response = new BasicResponse(); if (string.IsNullOrWhiteSpace(graphicsrouteinfrequest.GraphId)) { response.Code = -100; response.Message = "参数错误!"; return(response); } try { _Repository.DeleteGraphicsrouteinfForGraphId(graphicsrouteinfrequest.GraphId); } catch (Exception ex) { response.Code = -100; response.Message = ex.Message; this.ThrowException("DeleteGraphicsrouteinfForGraphId-删除图形绑定线路信息", ex); } return(response); }
public BasicResponse DeleteGraphicsrouteinfForGraphId(DeleteGraphicsrouteinfRequest graphicsrouteinfrequest) { return(graphicsrouteinfService.DeleteGraphicsrouteinfForGraphId(graphicsrouteinfrequest)); }
public BasicResponse DeleteGraphicsrouteinfForGraphId(DeleteGraphicsrouteinfRequest graphicsrouteinfrequest) { var responsestr = HttpClientHelper.Post(Webapi + "/v1/graphicsrouteinf/deletegraphicsrouteinfforgraphid?token=" + Token, JSONHelper.ToJSONString(graphicsrouteinfrequest)); return(JSONHelper.ParseJSONString <BasicResponse <GraphicsrouteinfInfo> >(responsestr)); }