Example #1
0
        public BaseRankEntity GetMyRank(string siteId, Guid managerId, int rankType)
        {
            RankHandler handler = GetHandler(siteId, rankType);

            if (handler != null)
            {
                return(handler.GetMyRankEntity(managerId));
            }
            else
            {
                return(null);
            }
        }
Example #2
0
        public BaseRankEntity GetMyRank(Guid managerId, int rankType)
        {
            RankHandler handler = null;

            _rankHandlers.TryGetValue(rankType, out handler);
            if (handler != null)
            {
                return(handler.GetMyRankEntity(managerId));
            }
            else
            {
                return(null);
            }
        }