コード例 #1
0
ファイル: ExchangeTypeManager.cs プロジェクト: cafc79/SIA
        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);
            }
        }