Example #1
0
 /// <summary>
 /// گرفتن کالا و تعداد
 /// </summary>
 /// <param name="stuff"></param>
 /// <param name="count"></param>
 public InvoiceItem(Stuff stuff, int count)
 {
     _stuff = stuff;
     _count = count;
 }
Example #2
0
        public void AddItemToInvoice(Stuff stuff, int count)
        {
            InvoiceItem temp = new InvoiceItem(stuff, count);

            _items.Add(temp);
        }