Exemple #1
0
        public errorCompositeType UpdatePartList(int iIdPartList, String iNumber, String sDescription, String iNumberClient)
        {
            var lstError = new errorCompositeType();

            try
            {
                var r = new PartList();
                r.UpdatePartList(iIdPartList, iNumber, sDescription, iNumberClient);
                lstError.bError = true;
                lstError.sError = "";
                return(lstError);
            }
            catch (Exception ex)
            {
                lstError.bError = false;
                lstError.sError = ex.Message;
                return(lstError);
            }
        }