Esempio n. 1
0
 public Employee UpdateEmployee(Employee updatedEmployee)
 {
     return(AutoMapperConfig.getMapper().Map <EmployeeDL, Employee>(_employeeData.UpdateEmployee(AutoMapperConfig.getMapper().Map <Employee, EmployeeDL>(updatedEmployee))));
 }
Esempio n. 2
0
 public Employee AddEmployee(Employee newEmployee)
 {
     return(AutoMapperConfig.getMapper().Map <EmployeeDL, Employee>(_employeeData.AddEmployee(AutoMapperConfig.getMapper().Map <Employee, EmployeeDL>(newEmployee))));
 }