public List <CustomerAccountsVo> GetAdviserEquityAccountList(int adviserId, int CurrentPage, string sortOrder, out int count) { List <CustomerAccountsVo> customerAccountList = new List <CustomerAccountsVo>(); CustomerAccountDao customerAccountDao = new CustomerAccountDao(); try { customerAccountList = customerAccountDao.GetAdviserEquityAccountList(adviserId, CurrentPage, sortOrder, out count); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "CustomerAccountBo.cs:GetAdviserEquityAccountList()"); object[] objects = new object[1]; objects[0] = adviserId; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(customerAccountList); }