Exemplo n.º 1
0
        public List<Telefones> PesquisarBL()
        {
            /*criar as regras de negocio*/
            TelefonesDA telefonesDA = new TelefonesDA();

            return telefonesDA.PesquisarDA();
        }
Exemplo n.º 2
0
        public bool InserirBL(Telefones tel)
        {
            /*criar as regras de negocio*/
            TelefonesDA telefonesDA = new TelefonesDA();

            return telefonesDA.InserirDA(tel);
        }
Exemplo n.º 3
0
        public bool ExcluirBL(int id_pes)
        {
            /*criar as regras de negocio*/
            TelefonesDA telefonesDA = new TelefonesDA();

            return telefonesDA.ExcluirDA(id_pes);
        }
Exemplo n.º 4
0
        public bool EditarBL(Telefones tel)
        {
            /*criar as regras de negocio*/
            TelefonesDA telefonesDA = new TelefonesDA();

            return telefonesDA.EditarDA(tel);
        }
Exemplo n.º 5
0
        public int RetornarMaxCodigoBL()
        {
            TelefonesDA telDA = new TelefonesDA();

            return telDA.RetornarMaxCodigoDA();
        }
Exemplo n.º 6
0
        public List<Telefones> PesquisarBL(int id_pes)
        {
            TelefonesDA telefonesDA = new TelefonesDA();

            return telefonesDA.PesquisarDA(id_pes);
        }