コード例 #1
0
        /// <summary>
        /// This method will call the AllTribute Resource Access class method for getting the most popular tribute
        /// on the basis on number of hits
        /// </summary>
        /// <param name="tributeType">A int object which contain the tribute type for which we want to get the 
        /// most popular tribute. by default it will be 1 ( for All Tribute)</param>
        /// <returns>This method will return the recently created tribute list</returns>
        public List<SearchTribute> GetPopularTribute(int tributeType)
        {
            AllTributeResource objTributeRes = new AllTributeResource();

            return objTributeRes.GetPopularTribute(tributeType);
        }
コード例 #2
0
        /// <summary>
        /// This method will call the AllTribute Resource Access class method for getting the Recently created tribute
        /// on the basis of last created tribute
        /// </summary>
        /// <param name="tributeType">A int object which contain the tribute type for which we want to get the 
        /// Recently created tribute. by default it will be 1 ( for All Tribute)</param>
        /// <returns>This method will return the recently created tribute list</returns>
        public List<SearchTribute> GetRecentlyCreatedTribute(int tributeType)
        {
            AllTributeResource objTributeRes = new AllTributeResource();

            return objTributeRes.GetRecentlyCreatedTribute(tributeType);
        }
コード例 #3
0
        // TODO - remove
        public List<SearchTribute> GetAllTributeList()
        {
            AllTributeResource objTributeRes = new AllTributeResource();

            return objTributeRes.GetAllTributesList();
        }