public bool UpdateRejectedEquityTransactionStaging(int Id, string panNumber, string scripCode, string exchange, string price, string transactionType) { bool result = false; RejectedRecordsDao rejecetedRecords = new RejectedRecordsDao(); try { result = rejecetedRecords.UpdateRejectedEquityTransactionStaging(Id, panNumber, scripCode, exchange, price, transactionType); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "RejectedRecordsBo.cs:UpdateWERPTransactionStaging()"); object[] objects = new object[5]; objects[0] = Id; objects[1] = panNumber; objects[2] = scripCode; objects[3] = exchange; objects[4] = transactionType; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(result); }