示例#1
0
        public void AddItem(VPExpenseItem product)
        {
            VPExpenseItem line = lineCollection
                                 .Where(p => p.Id == product.Id)
                                 .FirstOrDefault();

            lineCollection.Add(product);
            expense.ExpenseItems.Add(product);
        }