Esempio n. 1
0
        public List <Pais> BuscarTodosPaises()
        {
            try
            {
                Pais_DAO dao = new Pais_DAO();

                return(dao.BuscarTodos());
            }
            catch (Exception e)
            {
                throw new Exception(e.Message);
            }
        }
Esempio n. 2
0
        public Pais BuscarPorPaisID(int id)
        {
            try
            {
                Pais_DAO dao = new Pais_DAO();

                return(dao.BuscarPorID(id));
            }
            catch (Exception e)
            {
                throw new Exception(e.Message);
            }
        }
Esempio n. 3
0
        public void Inserir_Pais(Pais _pais)
        {
            Pais_DAO dao = new Pais_DAO();

            dao.InserirPais(_pais);
        }