/* End */ /* To Get All Customers Associated to the Perticular BM */ public List <CustomerVo> GetAllBMCustomerList(int branchId, int branchHeadId, int all, int rmId, int currentPage, out int count, string sortExpression, string nameFilter, string areaFilter, string pincodeFilter, string parentFilter, string cityFilter, string RMFilter, out Dictionary <string, string> genDictParent, out Dictionary <string, string> genDictCity, out Dictionary <string, string> genDictRM) { List <CustomerVo> customerList = null; AdvisorStaffDao advisorStaffDao = new AdvisorStaffDao(); genDictParent = new Dictionary <string, string>(); genDictCity = new Dictionary <string, string>(); genDictRM = new Dictionary <string, string>(); try { customerList = advisorStaffDao.GetAllBMCustomerList(branchId, branchHeadId, all, rmId, currentPage, out count, sortExpression, nameFilter, areaFilter, pincodeFilter, parentFilter, cityFilter, RMFilter, out genDictParent, out genDictCity, out genDictRM); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "AdvisorStaffBo.cs:GetBMCustomerList()"); object[] objects = new object[1]; objects[0] = rmId; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(customerList); }