// GET api/friends
        public IEnumerable <object> Get()
        {
            var result = new List <object>();

            foreach (
                FriendGroup friendGroup in
                _dao.CreateFriendGroupDao().GetGroups(OrnamentContext.MemberShip.CurrentUser()))
            {
                var item = new
                {
                    friendGroup.Id,
                    friendGroup.Name,
                    Friends = new List <object>()
                };
                foreach (Friend friend in friendGroup.Friends)
                {
                    item.Friends.Add(new
                    {
                        friend.User.Id,
                        Name    = friend.Name ?? friend.User.Name,
                        Remarks = friend.Remakrs
                    });
                }

                result.Add(item);
            }
            return(result);
        }