示例#1
0
        public IEnumerable <ITopNews> SelectTopNewsForActivate()
        {
            IEnumerable <ITopNews> list = null;

            try
            {
                var objTopNewsDB = new TopNewsDB();
                list = objTopNewsDB.SelectTopNewsForActivate();
            }
            catch (Exception objExp)
            {
                throw objExp;
            }
            return(list.ToList().FindAll(v => v.IsActive == 0 && v.IsApproved == 1).OrderByDescending(v => v.DttmModified));
        }
示例#2
0
 public IEnumerable<ITopNews> SelectTopNewsForActivate()
 {
     IEnumerable<ITopNews> list = null;
     try
     {
         var objTopNewsDB = new TopNewsDB();
         list = objTopNewsDB.SelectTopNewsForActivate();
     }
     catch (Exception objExp)
     {
         throw objExp;
     }
     return list.ToList().FindAll(v => v.IsActive == 0 && v.IsApproved == 1).OrderByDescending(v => v.DttmModified);
 }