public override IEmployeeManager Create() { ContractEmployeeManager manager = new ContractEmployeeManager(); _emp.MedicalAllowance = manager.GetMedicalAllowance(); return(manager); }
public override IEmployeeManager create() { ContractEmployeeManager empManager = new ContractEmployeeManager(); this._emp.EmployeeAllowances.Add(new EmployeeAllowance { MedicalAllowance = empManager.GetMedicalAllowance() }); return(empManager); }