Example #1
0
 public virtual void RemoveLine(Good good)
 {
     lineCollection.RemoveAll(l => l.Good.GoodId == good.GoodId);
 }
Example #2
0
 public void AddGood(Good good)
 {
     repos.Add(good);
     repos.SaveChanges();
 }