Exemplo n.º 1
0
 public Employee SelectById(int id)
 {
     try
     {
         var employee = _employeeDao.SelectById(id);
         employee.Skills = _employeeDao.SelectSkillsByEmployee(employee).ToList();
         return(employee);
     }
     catch
     {
         return(null);
     }
 }