public int GetCountAffectationDocumentsByIdExchange(int iIdExchange) { affectationDocumentsCompositeType adct = new affectationDocumentsCompositeType(); AffectationDocuments ad = new AffectationDocuments(); return(ad.GetCountAffectationDocumetsByExchangeId(iIdExchange)); }
public errorCompositeType UpdateAffectationDocuments(affectationDocumentsCompositeType adct) { errorCompositeType lstError = new errorCompositeType(); try { AffectationDocuments et = new AffectationDocuments(); et.UpdateExchangeAffectationDocuments(adct); lstError.bError = true; lstError.sError = ""; return(lstError); } catch (Exception ex) { lstError.bError = false; lstError.sError = ex.Message; return(lstError); } }