Ejemplo n.º 1
0
        public List <CustomerInfo> Customer_Search(string keysearch, ref decimal p_total_record, string p_from = "1", string p_to = "10")
        {
            List <CustomerInfo> list = new List <CustomerInfo>();
            CustomerDA          _da  = new CustomerDA();

            try
            {
                list = CBO <CustomerInfo> .FillCollectionFromDataSet(_da.Customer_Search(keysearch, p_from, p_to, ref p_total_record));
            }
            catch (Exception ex)
            {
                NaviCommon.Common.log.Error(ex.ToString());
                list = new List <CustomerInfo>();
            }
            return(list);
        }