public BasicResponse <Jc_RInfo> AddJc_R(Jc_RAddRequest jc_Rrequest) { var _jc_R = ObjectConverter.Copy <Jc_RInfo, Jc_RModel>(jc_Rrequest.Jc_RInfo); var resultjc_R = _Repository.AddJc_R(_jc_R); var jc_Rresponse = new BasicResponse <Jc_RInfo>(); jc_Rresponse.Data = ObjectConverter.Copy <Jc_RModel, Jc_RInfo>(resultjc_R); return(jc_Rresponse); }
public BasicResponse <DataContract.Jc_RInfo> AddJc_R(Jc_RAddRequest jc_Rrequest) { return(jc_rService.AddJc_R(jc_Rrequest)); }
public BasicResponse <DataContract.Jc_RInfo> AddJc_R(Jc_RAddRequest jc_Rrequest) { var responsestr = HttpClientHelper.Post(Webapi + "/v1/JC_R/AddJc_R?token=" + Token, JSONHelper.ToJSONString(jc_Rrequest)); return(JSONHelper.ParseJSONString <BasicResponse <Jc_RInfo> >(responsestr)); }