Esempio n. 1
0
            public List <MentionModel> GetMentions()
            {
                MentionModelDAO dao = new MentionModelDAO();

                return(dao.GetList("SELECT `name` AS 'user', COUNT(`name`) AS 'total' FROM mentions GROUP BY `name` ORDER BY COUNT(`name`) DESC LIMIT 5;"));
            }
Esempio n. 2
0
        public static List <MentionModel> GetMentions()
        {
            MentionModelDAO dao = new MentionModelDAO();

            return(dao.GetMentions());
        }