public List <NewsInfo> ArticleHomeSearch(string p_key_search, ref decimal p_total_record, string p_from = "1", string p_to = "10", string p_sort_type = "ALL") { try { NewsDA _da = new NewsDA(); DataSet _ds = _da.NewsHomeSearch(p_key_search, p_from, p_to, p_sort_type, ref p_total_record); return(CBO <NewsInfo> .FillCollectionFromDataSet(_ds)); } catch (Exception ex) { Logger.LogException(ex); return(new List <NewsInfo>()); } }