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