Пример #1
0
        public errorCompositeType UpdateExchangeType(int iIdExchangeType, String sDescription, String sInitial)
        {
            errorCompositeType lstError = new errorCompositeType();

            try
            {
                ExchangeType et = new ExchangeType();
                et.UpdateExchangeType(iIdExchangeType, sDescription, sInitial);
                lstError.bError = true;
                lstError.sError = "";
                return(lstError);
            }
            catch (Exception ex)
            {
                lstError.bError = false;
                lstError.sError = ex.Message;
                return(lstError);
            }
        }