public BasicResponse <JC_RegionOutageConfigInfo> GetJC_RegionoutageconfigById(RegionOutageConfigGetRequest jC_Regionoutageconfigrequest) { var result = _Repository.GetJC_RegionoutageconfigById(jC_Regionoutageconfigrequest.Id); var jC_RegionoutageconfigInfo = ObjectConverter.Copy <JC_RegionoutageconfigModel, JC_RegionOutageConfigInfo>(result); var jC_Regionoutageconfigresponse = new BasicResponse <JC_RegionOutageConfigInfo>(); jC_Regionoutageconfigresponse.Data = jC_RegionoutageconfigInfo; return(jC_Regionoutageconfigresponse); }
public BasicResponse <JC_RegionOutageConfigInfo> GetJC_RegionoutageconfigById(RegionOutageConfigGetRequest jC_Regionoutageconfigrequest) { var responseStr = HttpClientHelper.Post(Webapi + "/v1/RegionOutageConfig/GetJC_RegionoutageconfigById?token=" + Token, JSONHelper.ToJSONString(jC_Regionoutageconfigrequest)); return(JSONHelper.ParseJSONString <BasicResponse <JC_RegionOutageConfigInfo> >(responseStr)); }
public BasicResponse <JC_RegionOutageConfigInfo> GetJC_RegionoutageconfigById(RegionOutageConfigGetRequest jC_Regionoutageconfigrequest) { return(_regionOutageConfigService.GetJC_RegionoutageconfigById(jC_Regionoutageconfigrequest)); }