示例#1
0
 public Empleado Buscar(int id)
 {
     using (_contexto = new ALICORPContexto())
     {
         try
         {
             _repositorio = new EmpleadoRepositorio(_contexto.Connection);
             return(_repositorio.Buscar(id));
         }
         catch (Exception ex)
         {
             throw ex;
         }
     }
 }