Exemplo n.º 1
0
        //Add items to list
        private void AddLineToList(int orderLineID, string reason, int qty, double price, double total)
        {
            RefundProduct line = new RefundProduct();

            line.OrderLineID = orderLineID;
            line.Reason      = reason;
            line.Quantity    = qty;
            line.Price       = price;
            line.LineTotal   = total;

            refundItems.Add(line);
        }
Exemplo n.º 2
0
 public bool AddRefundProduct(RefundProduct rfndProd)
 {
     return(db.AddRefundProduct(rfndProd));
 }