public CalculationSalary(TUnitOfWork unitOfWork, ICalculationEmployee <TUnitOfWork> сalculationSuccessores) { _unitOfWork = unitOfWork; Calculations = сalculationSuccessores; }
public void SetSuccessor(ICalculationEmployee <TUnitOfWork> successor) { _successor = successor; successor.Head = Head; }