public BasicResponse <GraphicsrouteinfInfo> GetGraphicsrouteinfById(GraphicsrouteinfGetRequest graphicsrouteinfrequest) { var result = _Repository.GetGraphicsrouteinfById(graphicsrouteinfrequest.Id); var graphicsrouteinfInfo = ObjectConverter.Copy <GraphicsrouteinfModel, GraphicsrouteinfInfo>(result); var graphicsrouteinfresponse = new BasicResponse <GraphicsrouteinfInfo>(); graphicsrouteinfresponse.Data = graphicsrouteinfInfo; return(graphicsrouteinfresponse); }
public BasicResponse <GraphicsrouteinfInfo> GetGraphicsrouteinfById(GraphicsrouteinfGetRequest graphicsrouteinfrequest) { return(graphicsrouteinfService.GetGraphicsrouteinfById(graphicsrouteinfrequest)); }
public BasicResponse <GraphicsrouteinfInfo> GetGraphicsrouteinfById(GraphicsrouteinfGetRequest graphicsrouteinfrequest) { var responsestr = HttpClientHelper.Post(Webapi + "/v1/graphicsrouteinf/get?token=" + Token, JSONHelper.ToJSONString(graphicsrouteinfrequest)); return(JSONHelper.ParseJSONString <BasicResponse <GraphicsrouteinfInfo> >(responsestr)); }