Пример #1
0
 public Liquidacao Get(int userId)
 {
     if (!database.ContainsKey(userId))
     {
         database[userId] = new Liquidacao(userId);
     }
     return(database[userId]);
 }
Пример #2
0
 public void Save(Liquidacao shoppingCart)
 {
     // Not implemented. Saving would be working with a real DB only.
 }