예제 #1
0
 public virtual void RemoveBenefit(Benefit benefit)
 {
     benefit.Employee = null;
     Benefits.Remove(benefit);
 }
예제 #2
0
 public virtual void AddBenefit(Benefit benefit)
 {
     benefit.Employee = this;
     Benefits.Add(benefit);
 }