예제 #1
0
        public DataPage <User> GetPageByTag(int tagId)
        {
            DataPage <UserTagShip> list    = UserTagShip.findPage("TagId=" + tagId);
            DataPage <User>        results = new DataPage <User>();

            results.CopyStats(list);

            results.Results = populateUsers(list.Results);
            return(results);
        }
예제 #2
0
        public DataPage <User> GetPageByTag(int tagId)
        {
            DataPage <UserTagShip> list = UserTagShip.findPage("TagId=" + tagId);

            return(list.Convert <User>(populateUsers(list.Results)));
        }