Beispiel #1
0
            public List <UrlModel> GetUrls()
            {
                UrlModelDAO dao = new UrlModelDAO();

                return(dao.GetList("SELECT `hostname`, COUNT(`hostname`) AS 'total' FROM urls GROUP BY `hostname` ORDER BY COUNT(`hostname`) DESC LIMIT 5;"));
            }
Beispiel #2
0
        public static List <UrlModel> GetUrls()
        {
            UrlModelDAO dao = new UrlModelDAO();

            return(dao.GetUrls());
        }