Beispiel #1
0
        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);
        }
Beispiel #2
0
 public BasicResponse <GraphicsrouteinfInfo> GetGraphicsrouteinfById(GraphicsrouteinfGetRequest graphicsrouteinfrequest)
 {
     return(graphicsrouteinfService.GetGraphicsrouteinfById(graphicsrouteinfrequest));
 }
Beispiel #3
0
        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));
        }