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