public bool MoveMenu(int functionSeqId, string direction) { bool mRetVal = false; MFunctionProfile mProfile = FunctionUtility.GetProfile(functionSeqId); MAccountProfile mAccountProfile = AccountUtility.CurrentProfile(); DirectionType mDirection; Enum.TryParse(direction, out mDirection); if (direction == "up") { FunctionUtility.Move(mProfile, DirectionType.Up, mAccountProfile.Id, DateTime.Now); } else { FunctionUtility.Move(mProfile, DirectionType.Down, mAccountProfile.Id, DateTime.Now); } return(mRetVal); }