Ejemplo n.º 1
0
        private Employee createNewEmployee()
        {
            Employee employee = new Employee
            {
                Person = new Person()
            };

            _personRepository.AddEmployee(employee);
            return(employee);
        }