Exemplo 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;"));
            }
Exemplo n.º 2
0
        public static List <MentionModel> GetMentions()
        {
            MentionModelDAO dao = new MentionModelDAO();

            return(dao.GetMentions());
        }