示例#1
0
        /// <summary>
        /// returns the top rated projects from a specific date.
        /// </summary>
        public static List <Project> ReturnTopProjects(DateTime date)
        {
            DataTable      dt   = ProjectDB.ReturnTopProjects(date);
            List <Project> list = new List <Project>();

            foreach (DataRow row in dt.Rows)
            {
                Project newProject = new Project(row);
                list.Add(newProject);
            }
            return(list);
        }