/// <summary> /// /// </summary> /// <param name="AssociateCategory"></param> /// <returns></returns> public bool UpdateAdviserAssociateCategory(AssociateCategoryVo AssociateCategory) { bool result = false; try { AdviserAssociateCategorySetupDao AdviserAssociateCategorySetup = new AdviserAssociateCategorySetupDao(); result = AdviserAssociateCategorySetup.UpdateAdviserAssociateCategory(AssociateCategory); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "AdviserAssociateCategorySetupBo.cs:UpdateAdviserAssociateCategory()"); object[] objects = new object[1]; objects[0] = AssociateCategory; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(result); }