Example #1
0
            public string updateParameters(parameterReference.parameterClass para)
            {
                string response = "";

                try
                {
                    IparameterClient client = new IparameterClient();
                    response = client.updateString(para.childId.ToString(), para.parameterId.ToString(), para.creator.ToString(), para.type, para.value, para.order, para.status);
                }
                catch (Exception ex)
                {
                    response = "Error : " + ex.ToString();
                }

                return(response);
            }
Example #2
0
            public string parameterUpdate(string childId, string parameterId, string creator, string type, string value, string order, string status, string additional_1, string additional_2, string additional_3, string additional_4)
            {
                creator = new Guid().ToString();

                string           response = "";
                IparameterClient para     = new IparameterClient();

                try
                {
                    response = para.updateString(childId, parameterId, creator, type, value, order, status);
                }
                catch
                {
                    response = "Error";
                }

                return(response);
            }