예제 #1
0
 public List <BillGoods> GetListByBillCustomerId(Passport passport, string billCustomerId)
 {
     return(CustomerDataConverter.RowToBillGoodsList(dal.GetBillGoodsList(billCustomerId)));
 }
예제 #2
0
        public BillGoods Find(Passport passport, string id)
        {
            List <BillGoods> list = CustomerDataConverter.RowToBillGoodsList(dal.GetBillGoods(id));

            return(list.Count > 0 ? list[0] : null);
        }