Exemple #1
0
 public List <NewsInfo> ArticlesGetByPage(string pLanguage, string pTitle, DateTime pNgayCongBo, int pStart, int pEnd, ref decimal pTotalRecord)
 {
     try
     {
         NewsDA  _da = new NewsDA();
         DataSet _ds = _da.ArticlesGetByPage(pLanguage, pTitle, pNgayCongBo, pStart, pEnd, ref pTotalRecord);
         return(CBO <NewsInfo> .FillCollectionFromDataSet(_ds));
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
         return(new List <NewsInfo>());
     }
 }