Example #1
0
File: Cart.cs Project: fhoner/Kasse
 public void Add(ArticleCount articleCount)
 {
     Add(articleCount.Article, articleCount.Count);
 }
Example #2
0
File: Cart.cs Project: fhoner/Kasse
 public void Remove(ArticleCount ac)
 {
     if (this[ac.Article].Count - ac.Count == 0)
         Remove(ac.Article);
     else
     {
         this[ac.Article].Count -= ac.Count;
     }
 }