Пример #1
0
        public List <_Activity> GetCheckList()
        {
            DataTable        ds   = dal.GetCheckList();
            List <_Activity> list = new List <_Activity>();

            list.AddRange(ModelConvertHelper <_Activity> .ConvertToList(ds).OrderByDescending(a => Convert.ToDateTime(a.ActivityCreateTIme).ToString("yyyy-MM-dd")).ThenByDescending(a => a.PVCount).ToList());
            return(list);
        }