Beispiel #1
0
 public decimal?Winnings(int outingID)
 {
     if (!TransactionDictionary.ContainsKey(outingID))
     {
         return(null);
     }
     return(TransactionDictionary[outingID].Sum(x => x.Amount));
 }
 internal void DeleteTransaction(string transactionId)
 {
     TransactionDictionary.Remove(transactionId);
 }