Beispiel #1
0
        /// <summary>
        /// Map客戶資料
        /// </summary>
        /// <returns></returns>
        public List <SelectListItem> GetCusNameData()
        {
            List <SelectListItem> result = new List <SelectListItem>();

            eSaleDao.CusDao cusDao   = new eSaleDao.CusDao(this.DbConn);
            var             datalist = cusDao.GetCusData();


            return(this.MapCusNameSelectListItem(datalist));
        }
Beispiel #2
0
        /// <summary>
        /// 取得客戶資料
        /// </summary>
        /// <returns></returns>
        public List <eSaleModel.Cus> GetCusData()
        {
            List <eSaleModel.Cus> result = new List <eSaleModel.Cus>();

            eSaleDao.CusDao cusDao   = new eSaleDao.CusDao(this.DbConn);
            var             datalist = cusDao.GetCusData();


            return(this.MapCusDataToList(datalist));
        }