Example #1
0
 public void Pay()
 {
     Money amount = new Money();
     foreach (var timecard in _timecards)
     {
         if (_payPeriod.Contains(_date))
         {
             amount.Add(timecard.Hour * _payRate);
         }
     }
     payDispatcher.Pay(this, _date, amount);
 }
Example #2
0
 public void Pay(Employee employee, DateTime date, Money amount)
 {
     throw new NotImplementedException();
 }