Exemplo n.º 1
0
        public List<string> listarHobbies()
        {
            try
            {
                HobbyDAO hDAO = new HobbyDAO();
                return hDAO.ListarHobbies();
            }
            catch (Exception e)
            {

                throw new FaultException(e.Message);

            }
        }
Exemplo n.º 2
0
 public List<string> listarHobbies()
 {
     HobbyDAO hDAO = new HobbyDAO();
     return hDAO.ListarHobbies();
 }