Пример #1
0
        public BillDTO createBill(CustomerDTO custommer)
        {
            BillDTO bill = new BillDTO();

            bill.Customer   = custommer;
            bill.Status     = 0;
            bill.TotalPrice = 0;
            bill.ID         = data.createBillNGetIDBill(bill);
            return(bill);
        }