Пример #1
0
        public EmployeeVO GetEmployeeByID(int employeeID)
        {
            EmployeeData employeeData = new EmployeeData();
            EmployeeVO employeeVO = new EmployeeVO();
            EmployeePO employeePO = employeeData.GetEmployeeByID(employeeID);
            employeeVO = Mapper.Map<EmployeePO, EmployeeVO>(employeePO);

            return employeeVO;
        }
Пример #2
0
 public void EditEmployee(EmployeeVO employee)
 {
     EmployeeData employeeData = new EmployeeData();
     employeeData.EditEmployee(Mapper.Map<EmployeeVO, EmployeePO>(employee));
 }