public override IEmployeeManager Create()
        {
            ContractEmployeeManager manager = new ContractEmployeeManager();

            _emp.MedicalAllowance = manager.GetMedicalAllowance();
            return(manager);
        }
示例#2
0
        public override IEmployeeManager create()
        {
            ContractEmployeeManager empManager = new ContractEmployeeManager();

            this._emp.EmployeeAllowances.Add(new EmployeeAllowance {
                MedicalAllowance = empManager.GetMedicalAllowance()
            });
            return(empManager);
        }