예제 #1
0
파일: NewsBL.cs 프로젝트: SangDD/Legaltech
 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>());
     }
 }