public BasicResponse <JC_AnalysisTemplateConfigInfo> AddJC_Analysistemplateconfig(AnalysisTemplateConfigAddRequest jC_Analysistemplateconfigrequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/AnalysisTemplateConfig/AddJC_Analysistemplateconfig?token=" + Token, JSONHelper.ToJSONString(jC_Analysistemplateconfigrequest));

            return(JSONHelper.ParseJSONString <BasicResponse <JC_AnalysisTemplateConfigInfo> >(responseStr));
        }
Exemple #2
0
        public BasicResponse <JC_AnalysisTemplateConfigInfo> AddJC_Analysistemplateconfig(AnalysisTemplateConfigAddRequest jC_Analysistemplateconfigrequest)
        {
            var _jC_Analysistemplateconfig        = ObjectConverter.Copy <JC_AnalysisTemplateConfigInfo, JC_AnalysistemplateconfigModel>(jC_Analysistemplateconfigrequest.JC_AnalysisTemplateConfigInfo);
            var resultjC_Analysistemplateconfig   = _Repository.AddJC_Analysistemplateconfig(_jC_Analysistemplateconfig);
            var jC_Analysistemplateconfigresponse = new BasicResponse <JC_AnalysisTemplateConfigInfo>();

            jC_Analysistemplateconfigresponse.Data = ObjectConverter.Copy <JC_AnalysistemplateconfigModel, JC_AnalysisTemplateConfigInfo>(resultjC_Analysistemplateconfig);
            return(jC_Analysistemplateconfigresponse);
        }
Exemple #3
0
 public BasicResponse <JC_AnalysisTemplateConfigInfo> AddJC_Analysistemplateconfig(AnalysisTemplateConfigAddRequest jC_Analysistemplateconfigrequest)
 {
     return(_AnalysisTemplateConfigService.AddJC_Analysistemplateconfig(jC_Analysistemplateconfigrequest));
 }