using Newtonsoft.Json; using NaTeWebApi.Services; using NaTeWebApi.Controllers; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using static NaTeWebApi.Controllers.AMSModel; using System.Configuration; using Demo; namespace NaTeWebApi.Models { public class ApiHelper { internal static SimpleResultModel xxptmstrget(xxptmstrgetmodel model) { var result = new SimpleResultModel(); ptin pt = new ptin { pt_from = model.pt_from, pt_to = model.pt_to }; var client = new QAD(); client.Url = "http://192.168.1.51:23/QAD.asmx";//http://172.17.0.106:806/QAD.asmx client.xxptmstrget(model.input_domain,pt); return result; } } }