public errorCompositeType AddExchangeType(String description, String sInitial) { errorCompositeType lstError = new errorCompositeType(); try { ExchangeType et = new ExchangeType(); et.InsertExchangeType(description, sInitial); lstError.bError = true; lstError.sError = ""; return(lstError); } catch (Exception ex) { lstError.bError = false; lstError.sError = ex.Message; return(lstError); } }