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)); }
public int InsParameter(DMParameter item) { return(_parameterRepository.InsParameter(item)); }