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); }
public void Pay(Employee employee, DateTime date, Money amount) { throw new NotImplementedException(); }