Exemple #1
0
        public IRestResponse InsParameter(DMParameter item)
        {
            var request = new RestRequest("QT/AddOrUpdateDMParameter", Method.POST)
            {
                RequestFormat  = DataFormat.Json,
                JsonSerializer = new JsonSerializer()
            };

            request.AddBody(new { item });
            return(Execute(request));
        }
Exemple #2
0
 public int InsParameter(DMParameter item)
 {
     return(_parameterRepository.InsParameter(item));
 }