Exemplo n.º 1
0
        public bool UpdateCAMSTransStaging(int CAMSStagingID, string TransactionNumber, string Folio)
        {
            bool result = false;
            RejectedRecordsDao rejecetedRecords = new RejectedRecordsDao();

            try
            {
                result = rejecetedRecords.UpdateCAMSTransStaging(CAMSStagingID, TransactionNumber, Folio);
            }
            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();

                FunctionInfo.Add("Method", "RejectedRecordsBo.cs:UpdateKarvyProfileStaging()");

                object[] objects = new object[3];
                objects[0] = CAMSStagingID;
                objects[1] = TransactionNumber;
                objects[2] = Folio;

                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }

            return(result);
        }