示例#1
0
 public void WhenIAddExpenseTo(string eventName, Table expenses)
 {
     eventName += uniqueStamp;
     GetEventPanel(eventName);
     foreach (var expense in expenses.Rows)
     {
         if (expense.Keys.Contains("Vendor") && expense["Vendor"] != string.Empty)
         {
             expense["Vendor"] = expense["Vendor"] + uniqueStamp;
         }
         EventPanel.AddExpense(expense);
     }
 }